3
0
Fork 0

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:
Caio Schnepper 2015-07-10 19:32:55 -03:00
parent 8feed3c151
commit 376b96446e
2 changed files with 2 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1 @@
allow kernel block_device:blk_file write;