commit | 3288c19bf6ab4bb5e622a9584fc5d0f1494a5bd7 | [log] [tgz] |
---|---|---|
author | dcashman <dcashman@google.com> | Tue Jun 30 09:14:57 2015 -0700 |
committer | dcashman <dcashman@google.com> | Tue Jun 30 09:14:57 2015 -0700 |
tree | f8ae59b64f987b8f6e2ed3b4728292ae2d8e868e | |
parent | 22f5b26b26512a70dcd8741b54a655d9b100d99a [diff] |
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
diff --git a/sepolicy/init.te b/sepolicy/init.te new file mode 100644 index 0000000..3aa81d1 --- /dev/null +++ b/sepolicy/init.te
@@ -0,0 +1 @@ +allow init tmpfs:lnk_file create_file_perms;