summaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-12-23 10:26:19 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-12-23 10:29:45 +0530
commit537a053eafb489042077d08b0a33e12ba6a27248 (patch)
treeb63e1a812e1e3d82188001afd73f8f329fadd0e6 /selinux
parenta1ddda15ae35cce424867e16c81190cca6bea907 (diff)
downloaddevice_samsung_n7100-537a053eafb489042077d08b0a33e12ba6a27248.zip
device_samsung_n7100-537a053eafb489042077d08b0a33e12ba6a27248.tar.gz
device_samsung_n7100-537a053eafb489042077d08b0a33e12ba6a27248.tar.bz2
n7100: selinux fixes for gpsd
Diffstat (limited to 'selinux')
-rw-r--r--selinux/gpsd.te8
1 files changed, 0 insertions, 8 deletions
diff --git a/selinux/gpsd.te b/selinux/gpsd.te
index 4aa2b04..6c54563 100644
--- a/selinux/gpsd.te
+++ b/selinux/gpsd.te
@@ -1,15 +1,7 @@
-type gpsd, domain;
-type gpsd_exec, exec_type, file_type;
-
-init_daemon_domain(gpsd)
-
-allow gpsd shell_exec:file { rx_file_perms entrypoint };
-
#for text relocs & execution
allow gpsd system_file:file { execute_no_trans execmod };
allow gpsd gps_device:chr_file { getattr setattr };
allow gpsd gps_data_file:dir { search write add_name remove_name };
-allow gpsd gps_data_file:file { create rw_file_perms };
allow gpsd gps_data_file:fifo_file { unlink create setattr getattr rw_file_perms };
allow gpsd node:udp_socket { node_bind name_bind };