summaryrefslogtreecommitdiffstats
path: root/common/location.te
diff options
context:
space:
mode:
Diffstat (limited to 'common/location.te')
-rw-r--r--common/location.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/location.te b/common/location.te
index 7d3a6261..1698fd46 100644
--- a/common/location.te
+++ b/common/location.te
@@ -11,6 +11,7 @@ type_transition location location_data_file:sock_file location_socket;
qmux_socket(location)
binder_use(location)
+binder_call(location, system_server)
allow location location_data_file:dir rw_dir_perms;
allow location location_data_file:fifo_file create_file_perms;
@@ -23,3 +24,7 @@ allow location sensors:unix_stream_socket connectto;
allow location sensors_device:chr_file r_file_perms;
allow location sensors_socket:sock_file w_file_perms;
allow location self:netlink_socket create_socket_perms;
+allow location system_server:unix_stream_socket { read write };
+
+dontaudit location domain:dir r_dir_perms;
+r_dir_file(location, netmgrd)