summaryrefslogtreecommitdiffstats
path: root/selinux/netmgrd.te
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-11-27 23:45:35 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-11-27 23:45:35 +0100
commit1e3c6c4a20cde875b23c69afd4025c492511e822 (patch)
tree1d356fd78e138ac33c1d1dc99a890594ca0a440c /selinux/netmgrd.te
parentbae7ee3f1d348c29f8eb604ce774d22757460927 (diff)
downloaddevice_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.zip
device_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.tar.gz
device_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.tar.bz2
i9305 : update selinux policies for MM
Change-Id: Ia96cb118083b20e87b94412ab5072be34cd6e806
Diffstat (limited to 'selinux/netmgrd.te')
-rwxr-xr-xselinux/netmgrd.te29
1 files changed, 0 insertions, 29 deletions
diff --git a/selinux/netmgrd.te b/selinux/netmgrd.te
deleted file mode 100755
index 11159a4..0000000
--- a/selinux/netmgrd.te
+++ /dev/null
@@ -1,29 +0,0 @@
-# Network utilities (radio process)
-type netmgrd, domain;
-type netmgrd_exec, exec_type, file_type;
-
-# Started by init
-init_daemon_domain(netmgrd)
-
-allow netmgrd self:udp_socket { create ioctl };
-# fsetid, dac_override unlink on /dev/socket/qmux_radio/qmux_client_socket
-allow netmgrd self:capability { sys_module fsetid setuid setgid net_admin net_raw dac_override };
-allow netmgrd self:packet_socket { write bind read create };
-allow netmgrd self:netlink_socket { write read create bind setopt };
-allow netmgrd self:netlink_route_socket { create bind read write nlmsg_read nlmsg_write setopt getattr };
-allow netmgrd kernel:system module_request;
-
-# Talk to qmuxd
-qmux_socket(netmgrd)
-
-# Allow logging diagnostic items
-allow netmgrd diagnostic_device:chr_file rw_file_perms;
-
-# /data/data_test/ access with shell
-allow netmgrd shell_exec:file { execute read open execute_no_trans };
-allow netmgrd system_file:file { execute_no_trans };
-
-# Talk to init over the property socket
-unix_socket_connect(netmgrd, property, init)
-# Set net.rmnet_usb0. values
-allow netmgrd radio_prop:property_service set;