From d9b58b74350bfa8ef34b5634d847097708bb0446 Mon Sep 17 00:00:00 2001 From: Andreas Blaesius Date: Sat, 18 Jul 2015 17:59:44 +0200 Subject: 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 --- rootdir/etc/init.espresso.rc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rootdir') 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 -- cgit v1.1