diff options
author | dcashman <dcashman@google.com> | 2015-06-30 09:25:29 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2015-06-30 09:25:29 -0700 |
commit | 0687046f35d75a60e3e07ad96d5c6430d765abd7 (patch) | |
tree | 9fc0f8174e18339754c872c38ad5ea581d20cd33 | |
parent | a7ae944ed4b9951eb5545d6d9be0cd91a2e4e011 (diff) | |
download | flo-0687046f35d75a60e3e07ad96d5c6430d765abd7.tar.gz |
Allow init to create /mnt/sdcard symlink.
Addresses the following denial:
avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=0
Bug: 22084499
Change-Id: Icffef8330d07b00f36fda11374e39e0df7181ca3
-rw-r--r-- | sepolicy/init.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te index 14f1b92..33cbf02 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -1 +1,2 @@ allow init diag_device:chr_file unlink; +allow init tmpfs:lnk_file create_file_perms; |