* commit 'da5d54c8ce3e420f828469ca1d8d36b5638ecdaa': Add policy for x86 emulator.
This commit is contained in:
commit
224c60c337
6 changed files with 14 additions and 0 deletions
|
@ -41,3 +41,11 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
|||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||
|
||||
BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
|
||||
BOARD_SEPOLICY_UNION += \
|
||||
domain.te \
|
||||
healthd.te \
|
||||
installd.te \
|
||||
system_server.te \
|
||||
zygote.te
|
||||
|
|
1
target/board/generic_x86/sepolicy/domain.te
Normal file
1
target/board/generic_x86/sepolicy/domain.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow domain cpuctl_device:dir search;
|
1
target/board/generic_x86/sepolicy/healthd.te
Normal file
1
target/board/generic_x86/sepolicy/healthd.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow healthd self:capability sys_nice;
|
1
target/board/generic_x86/sepolicy/installd.te
Normal file
1
target/board/generic_x86/sepolicy/installd.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow installd self:process execmem;
|
1
target/board/generic_x86/sepolicy/system_server.te
Normal file
1
target/board/generic_x86/sepolicy/system_server.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow system_server self:process execmem;
|
2
target/board/generic_x86/sepolicy/zygote.te
Normal file
2
target/board/generic_x86/sepolicy/zygote.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow zygote self:process execmem;
|
||||
allow zygote self:capability sys_nice;
|
Loading…
Reference in a new issue