diff options
author | Adrian DC <radian.dc@gmail.com> | 2016-08-02 23:21:35 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-08-05 00:00:03 -0700 |
commit | 463feb60058e5602a44b79fd9646cbf185140af8 (patch) | |
tree | a49054cd9db9b046d4857e2e831037a1ec3e3858 | |
parent | ce489f178c5c3398b22dd7c8cd75db49e053a44d (diff) | |
download | vendor_replicant-463feb60058e5602a44b79fd9646cbf185140af8.zip vendor_replicant-463feb60058e5602a44b79fd9646cbf185140af8.tar.gz vendor_replicant-463feb60058e5602a44b79fd9646cbf185140af8.tar.bz2 |
cm: sepolicy: Fix the vold blkid.tab denial from recovery
* denied { link } for pid=190 comm="minivold"
name="vold_blkid.tab" dev="tmpfs" scontext=u:r:vold:s0
tcontext=u:object_r:vold_tmpfs:s0 tclass=file
Change-Id: I0b3e47dd00c5a32261691f51838a8d9af9778faa
-rw-r--r-- | sepolicy/vold.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/vold.te b/sepolicy/vold.te index 0c50c71..d00fcec 100644 --- a/sepolicy/vold.te +++ b/sepolicy/vold.te @@ -14,6 +14,7 @@ allow vold self:capability { setgid setuid }; recovery_only(` allow vold rootfs:dir { add_name write }; allow vold rootfs:file execute_no_trans; + allow vold vold_tmpfs:file link; ') # External storage |