diff options
author | Arian <arian.kulmer@web.de> | 2019-09-19 21:07:25 +0200 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-02-07 20:09:45 +0100 |
commit | 9206badaf95e0c897266dd1dfd5dd0ec4dfac683 (patch) | |
tree | abacf812fccd674f4bb60ea6709a1851999120a5 | |
parent | 271dc07e2b7f2ce42fbced3bcc7156087c1655a1 (diff) |
shinano-common: sepolicy: Label Trim Area Daemon
Change-Id: I849c429d6b1fd57d6593f4b9a6152f31477c71a0
-rw-r--r-- | rootdir/etc/init.camera.rc | 2 | ||||
-rw-r--r-- | sepolicy/file_contexts | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/etc/init.camera.rc b/rootdir/etc/init.camera.rc index 74d0073..7a6d857 100644 --- a/rootdir/etc/init.camera.rc +++ b/rootdir/etc/init.camera.rc @@ -128,8 +128,6 @@ service tad_static /vendor/bin/tad_static /dev/block/bootdevice/by-name/TA 0,16 user system group system root camera media socket tad stream 0770 system system - # tad_static is in rootfs, normal file_context does not work - seclabel u:r:tad:s0 service updatemiscta /vendor/bin/updatemiscta class main diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 1f0de5f..c27c020 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -27,5 +27,8 @@ /sys/devices/virtual/input/max1187x/glove u:object_r:sysfs_touch:s0 /sys/devices/virtual/input/max1187x/wakeup_gesture u:object_r:sysfs_touch:s0 +# Trim Area daemon +/system/vendor/bin/tad_static u:object_r:tad_exec:s0 + # WIFI /sys/module/bcmdhd/parameters/firmware_path u:object_r:sysfs_wlan_fwpath:s0 |