aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-07-18 17:59:44 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-07-31 11:18:17 -0700
commitd9b58b74350bfa8ef34b5634d847097708bb0446 (patch)
tree20ef8f8b9133ba44da7b93fafaa36f0e13acb564 /rootdir
parent1a5fa045b5cac4c39bc044d4c226ec9a3448116d (diff)
downloaddevice_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.zip
device_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.tar.gz
device_samsung_espressowifi-d9b58b74350bfa8ef34b5634d847097708bb0446.tar.bz2
P31XX: Update SELinux Policies [2/2]
- Move common policies to omap4-common - remove redundant seclabel in init.espresso.rc - address some denials Change-Id: I396215f3eb1316c3ba96e5eb98a03b98b77543fd
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/etc/init.espresso.rc7
1 files changed, 1 insertions, 6 deletions
diff --git a/rootdir/etc/init.espresso.rc b/rootdir/etc/init.espresso.rc
index 0f233e4..5a19ad0 100755
--- a/rootdir/etc/init.espresso.rc
+++ b/rootdir/etc/init.espresso.rc
@@ -56,6 +56,7 @@ on fs
mount debugfs /sys/kernel/debug /sys/kernel/debug
# Restorecon
+ restorecon /efs/nv.log
restorecon /efs/nv_data.bin
restorecon /efs/nv_data.bin.md5
restorecon /efs/.nv_core.bak
@@ -283,7 +284,6 @@ service pvrsrvinit /system/bin/pvrsrvinit
class core
user root
group root
- seclabel u:r:pvrsrvinit:s0
oneshot
service pvrsrvctl /system/vendor/bin/pvrsrvctl_SGX540_120 --start --no-module
@@ -307,20 +307,17 @@ service smc_pa /system/bin/smc_pa_ctrl \
class core
user root
group root
- seclabel u:r:smc_pa:s0
oneshot
service orientationd /system/bin/orientationd
class main
user compass
group input
- seclabel u:r:orientationd:s0
service geomagneticd /system/bin/geomagneticd
class main
user compass
group system input
- seclabel u:r:geomagneticd:s0
# create virtual SD card at /storage/sdcard0, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
@@ -412,13 +409,11 @@ service gpsd /system/bin/gpsd -c /system/etc/gps.xml
socket gps seqpacket 0660 gps system
user gps
group system inet sdcard_rw
- seclabel u:r:gpsd:s0
# Keyboard
service dock_kbd_attach /system/bin/dock_kbd_attach /dev/ttyO3
class main
user root
- seclabel u:r:dock_kbd_attach:s0
oneshot
# LPM