summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2016-08-22 17:40:56 -0400
committerPraneeth Bajjuri <praneeth@ti.com>2017-01-17 17:37:36 -0600
commit816911c321939144bb5de3c25732966517a0823f (patch)
tree378fbf931ac94628cf948f71cce5860445e1ffc1
parent9bc206137fe7f5e11d83998e314c35a35a2d6a28 (diff)
downloadam57xevm-816911c321939144bb5de3c25732966517a0823f.tar.gz
jacinto6evm: sepolicy: allow init to delete symlinks on /config
Cherry-picked from AOSP Project: device/google/dragon Commit: f8dc614d1bd1105a53194560d05704bf92f4bdea Author: Jeff Vander Stoep <jeffv@google.com> Change-Id: Ia7ec0b86a523d2d0c8c8f98c00c0eda83fad984f Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--sepolicy/init.te3
1 files changed, 1 insertions, 2 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te
index b0822c6..7ff72db 100644
--- a/sepolicy/init.te
+++ b/sepolicy/init.te
@@ -5,5 +5,4 @@ allow init tmpfs:lnk_file create_file_perms;
# /config
allow init configfs:dir create_dir_perms;
-allow init configfs:file w_file_perms;
-allow init configfs:lnk_file create;
+allow init configfs:{ file lnk_file } create_file_perms;