Enable PacketRouter to use radio device am: c1034c26c1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/23235910 Change-Id: If3866c1b2d1a7186f3f3c998a89f8519ced2468b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
8b33cbc4ca
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ net_domain(pktrouter)
|
||||||
domain_auto_trans(pktrouter, netutils_wrapper_exec, netutils_wrapper);
|
domain_auto_trans(pktrouter, netutils_wrapper_exec, netutils_wrapper);
|
||||||
|
|
||||||
allow pktrouter pktrouter_device:chr_file rw_file_perms;
|
allow pktrouter pktrouter_device:chr_file rw_file_perms;
|
||||||
|
allow pktrouter radio_device:chr_file r_file_perms;
|
||||||
allow pktrouter self:netlink_route_socket nlmsg_write;
|
allow pktrouter self:netlink_route_socket nlmsg_write;
|
||||||
allow pktrouter self:packet_socket { bind create read write getattr shutdown};
|
allow pktrouter self:packet_socket { bind create read write getattr shutdown};
|
||||||
allow pktrouter self:capability net_raw;
|
allow pktrouter self:capability net_raw;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue