forked from openkylin/platform_build
am d9f11a3f: am c0f0e8ca: am 13b48588: Merge "Allow qemu_device read-write access to various processes"
* commit 'd9f11a3f2b0670ac68bfae782c5fe8c58032efc6': Allow qemu_device read-write access to various processes
This commit is contained in:
commit
d9af5a5458
|
@ -78,6 +78,7 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
|||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||
BOARD_SEPOLICY_UNION += \
|
||||
adbd.te \
|
||||
app.te \
|
||||
bootanim.te \
|
||||
device.te \
|
||||
domain.te \
|
||||
|
@ -88,4 +89,5 @@ BOARD_SEPOLICY_UNION += \
|
|||
rild.te \
|
||||
shell.te \
|
||||
surfaceflinger.te \
|
||||
system_server.te
|
||||
system_server.te \
|
||||
zygote.te
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
allow appdomain qemu_device:chr_file rw_file_perms;
|
|
@ -1,2 +1,3 @@
|
|||
allow bootanim self:process execmem;
|
||||
allow bootanim ashmem_device:chr_file execute;
|
||||
allow bootanim qemu_device:chr_file rw_file_perms;
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
allow surfaceflinger self:process execmem;
|
||||
allow surfaceflinger ashmem_device:chr_file execute;
|
||||
allow surfaceflinger qemu_device:chr_file rw_file_perms;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
allow zygote qemu_device:chr_file rw_file_perms;
|
|
@ -44,7 +44,9 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
|||
|
||||
BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
|
||||
BOARD_SEPOLICY_UNION += \
|
||||
app.te \
|
||||
adbd.te \
|
||||
bootanim.te \
|
||||
device.te \
|
||||
domain.te \
|
||||
file.te \
|
||||
|
@ -55,5 +57,6 @@ BOARD_SEPOLICY_UNION += \
|
|||
qemud.te \
|
||||
rild.te \
|
||||
shell.te \
|
||||
surfaceflinger.te \
|
||||
system_server.te \
|
||||
zygote.te
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
allow appdomain qemu_device:chr_file rw_file_perms;
|
|
@ -0,0 +1 @@
|
|||
allow bootanim qemu_device:chr_file rw_file_perms;
|
|
@ -0,0 +1 @@
|
|||
allow surfaceflinger qemu_device:chr_file rw_file_perms;
|
|
@ -1,2 +1,3 @@
|
|||
allow zygote self:process execmem;
|
||||
allow zygote self:capability sys_nice;
|
||||
allow zygote qemu_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Reference in New Issue