diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-03-04 03:48:25 +0100 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-03-29 19:44:18 +0200 |
commit | 491824c82435b9e22aa95da3e8a554956e3d74b6 (patch) | |
tree | cf3ba3fadbdc8e8689c7af77a64c73e804b44a0c /sepolicy/orientationd.te | |
parent | d7911aa4d4f13863ae26e6d8f485cf0e106e3167 (diff) | |
download | device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.zip device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.gz device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.bz2 |
libsensors: fix selinux denials
Moved geomagneticd calibration data to /data/sensors to allow relabeling it.
Change-Id: Ibe596b5903aa309f862a568b9876e79acaff5d19
Diffstat (limited to 'sepolicy/orientationd.te')
-rw-r--r-- | sepolicy/orientationd.te | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sepolicy/orientationd.te b/sepolicy/orientationd.te index 672c473..9db61a5 100644 --- a/sepolicy/orientationd.te +++ b/sepolicy/orientationd.te @@ -4,6 +4,6 @@ type orientationd_exec, exec_type, file_type; init_daemon_domain(orientationd) -allow orientationd input_device:chr_file { read write open ioctl }; -allow orientationd input_device:dir { search read open }; -allow orientationd self:process { execmem }; +# the sensor is an input device +allow orientationd input_device:chr_file rw_file_perms; +allow orientationd input_device:dir r_dir_perms; |