summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-11-12 19:12:06 -0200
committerCaio Schnepper <caioschnepper@gmail.com>2016-01-31 12:21:13 -0800
commit53789b340ccf8ed0208306067c4a55a72a898246 (patch)
treea6d83976d1a17dd2a8494c1e595ea40a1c075a36 /rootdir
parent8bb93abd28a48a4108acffd0c617ef13f134f0d3 (diff)
downloaddevice_samsung_galaxys2-common-53789b340ccf8ed0208306067c4a55a72a898246.zip
device_samsung_galaxys2-common-53789b340ccf8ed0208306067c4a55a72a898246.tar.gz
device_samsung_galaxys2-common-53789b340ccf8ed0208306067c4a55a72a898246.tar.bz2
galaxys2-common: Marshmallow SELinux support
This was made from scratch, for a general cleanup of unused policies and update to M guidelines Change-Id: Id4acda2b384d28b5ca51b3ef0f6e93b648c8e79d
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.smdk4210.rc7
1 files changed, 1 insertions, 6 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index b857b01..dca0eec 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -224,8 +224,6 @@ on post-fs-data
chmod 0660 /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- restorecon /sys/class/rfkill/rfkill0/state
- restorecon /sys/class/rfkill/rfkill0/type
# Vibetonz
chmod 0660 /dev/tspdrv
@@ -239,7 +237,6 @@ on post-fs-data
chown system media_rw /sys/class/lcd/panel/gamma_mode
chown system media_rw /sys/class/lcd/panel/power_reduce
chown system system /sys/class/backlight/panel/auto_brightness
- restorecon /sys/class/lcd/panel/power_reduce
# Permissions for mDNIe
chown system media_rw /sys/class/mdnie/mdnie/mode
@@ -248,9 +245,6 @@ on post-fs-data
chown system media_rw /sys/class/mdnie/mdnie/negative
write /sys/class/mdnie/mdnie/scenario 0
write /sys/class/mdnie/mdnie/mode 1
- restorecon /sys/class/mdnie/mdnie/scenario
- restorecon /sys/class/mdnie/mdnie/mode
- restorecon /sys/class/mdnie/mdnie/negative
# Permissions for uart_sel and usb_sel
chown system radio /sys/class/sec/switch/uart_sel/value
@@ -332,6 +326,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
service mdnsd /system/bin/mdnsd
class main