diff options
author | dcashman <dcashman@google.com> | 2015-07-01 09:12:43 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2015-07-01 09:14:18 -0700 |
commit | 19eeccdaf2dde3d1021b12266a12c33e332546cf (patch) | |
tree | ac40d1e2225a849c4f42492749e90f8d24d8dd63 /target/board/generic_x86/sepolicy | |
parent | c7a6f1e4f8ff504bf617a0415b2c43ab3d339294 (diff) | |
download | build-19eeccdaf2dde3d1021b12266a12c33e332546cf.zip build-19eeccdaf2dde3d1021b12266a12c33e332546cf.tar.gz build-19eeccdaf2dde3d1021b12266a12c33e332546cf.tar.bz2 |
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
Diffstat (limited to 'target/board/generic_x86/sepolicy')
-rw-r--r-- | target/board/generic_x86/sepolicy/init.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/board/generic_x86/sepolicy/init.te b/target/board/generic_x86/sepolicy/init.te new file mode 100644 index 0000000..3aa81d1 --- /dev/null +++ b/target/board/generic_x86/sepolicy/init.te @@ -0,0 +1 @@ +allow init tmpfs:lnk_file create_file_perms; |