aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 12:24:37 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-04-19 00:23:48 -0700
commit8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6 (patch)
tree601797ab771e81d818173183bed51cfe547723d6 /rootdir
parent7ba368eefea595ea4e07be5ad7eb041a3c42fedb (diff)
downloaddevice_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.zip
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.gz
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.bz2
sepolicy: address current denials
Change-Id: Ied12c2b588856e7cb874e8693da7e07d9b8d0e6c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.tab2.rc9
1 files changed, 3 insertions, 6 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index aaa10c7..40efd2c 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -51,7 +51,7 @@ on fs
# increase read-ahead value to 256 kb
write /sys/block/mmcblk0/queue/read_ahead_kb 256
- mount debugfs /sys/kernel/debug /sys/kernel/debug
+ mount debugfs debugfs /sys/kernel/debug
on post-fs-data
mkdir /data/misc/wifi 0770 wifi system
@@ -93,17 +93,13 @@ on post-fs-data
chmod 0660 /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
- restorecon /sys/class/rfkill/rfkill0/state
- restorecon /sys/class/rfkill/rfkill0/type
# for samsung factory.
chown radio radio /efs/bluetooth
chmod 0755 /efs/bluetooth
chmod 0644 /efs/bluetooth/bt_addr
-# Change permission for sensor rev00
- chmod 755 /system/bin/geomagneticd
-
+ # Change permission for sensor
chown system input /sys/class/input/input2/enable
chown system input /sys/class/input/input2/poll_delay
@@ -347,6 +343,7 @@ service cpboot-daemon /sbin/cbd -d -p 8
class main
user root
group radio cache inet misc audio sdcard_rw log sdcard_r
+ seclabel u:r:cpboot-daemon:s0
disabled
on property:init.svc.pvrsrvinit=stopped