selinux: allow kernel to write on block_device
The kernel writes to dev/block/vold, fix UMS mode Change-Id: I4b8fd54f86ae45f37bae68f31dbdc56f5bfd2ef0
This commit is contained in:
parent
8feed3c151
commit
376b96446e
@ -163,6 +163,7 @@ BOARD_SEPOLICY_UNION += \
|
||||
file.te \
|
||||
file_contexts \
|
||||
init.te \
|
||||
kernel.te \
|
||||
mediaserver.te \
|
||||
rild.te \
|
||||
system_app.te \
|
||||
|
1
selinux/kernel.te
Normal file
1
selinux/kernel.te
Normal file
@ -0,0 +1 @@
|
||||
allow kernel block_device:blk_file write;
|
Loading…
Reference in New Issue
Block a user