summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2017-05-10 15:44:22 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-05-10 15:45:30 +0200
commitf4741bb2d5718b9321e47a7635e52b4b8377bdf2 (patch)
treea508a062eaa973bb3a9553035aa293683d31e536
parent599ea8cbd8b3017381cff2cfd3c5e03f33ac871c (diff)
downloadandroid_device_samsung_sltexx-lineage-15.0.tar.gz
android_device_samsung_sltexx-lineage-15.0.tar.xz
android_device_samsung_sltexx-lineage-15.0.zip
sepolicy: Remove explicit file labeling from daemonslineage-15.0
"--" makes SELinux only label files under the given path. However, we know that these nodes will always be files, thus drop the confusing and superfluous syntax.
-rw-r--r--sepolicy/file_contexts10
1 files changed, 5 insertions, 5 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 85c129d..c4bd4c6 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -106,9 +106,9 @@
####################################
# deamons
#
-/system/bin/mcDriverDaemon -- u:object_r:tee_exec:s0
-/system/bin/macloader -- u:object_r:macloader_exec:s0
-/system/bin/wifiloader -- u:object_r:wifiloader_exec:s0
+/system/bin/mcDriverDaemon u:object_r:tee_exec:s0
+/system/bin/macloader u:object_r:macloader_exec:s0
+/system/bin/wifiloader u:object_r:wifiloader_exec:s0
-/system/bin/cbd -- u:object_r:cpboot-daemon_exec:s0
-/system/bin/gpsd -- u:object_r:gpsd_exec:s0
+/system/bin/cbd u:object_r:cpboot-daemon_exec:s0
+/system/bin/gpsd u:object_r:gpsd_exec:s0