Skip to content

Commit

Permalink
Allow init to create /mnt/sdcard symlink.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dcashman committed Jun 30, 2015
1 parent 2def519 commit 814af57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sepolicy/init.te
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
allow init diag_device:chr_file unlink;
allow init tmpfs:lnk_file create_file_perms;

0 comments on commit 814af57

Please sign in to comment.