diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2016-08-22 17:40:56 -0400 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2016-11-09 11:15:10 -0600 |
commit | 9ceb43c0c4da0175ff1b42059c466b1dd6e992a9 (patch) | |
tree | 6f1709eddba28cf770e66a76539babbe549a54b7 | |
parent | 82d15b32d7f0cb360af107705e8f3c45f4e355e0 (diff) | |
download | am57xevm-9ceb43c0c4da0175ff1b42059c466b1dd6e992a9.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>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Conflicts:
sepolicy/init.te
-rw-r--r-- | sepolicy/init.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te index 1c88dbc..7ff72db 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -2,3 +2,7 @@ allow init self:capability sys_module; #Create symlinks for storage allow init tmpfs:lnk_file create_file_perms; + +# /config +allow init configfs:dir create_dir_perms; +allow init configfs:{ file lnk_file } create_file_perms; |