Merge "Add policy for x86 emulator."

This commit is contained in:
Nick Kralevich 2013-12-20 21:01:42 +00:00 committed by Gerrit Code Review
commit dfabbc6863
6 changed files with 14 additions and 0 deletions

View File

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

View File

@ -0,0 +1 @@
allow domain cpuctl_device:dir search;

View File

@ -0,0 +1 @@
allow healthd self:capability sys_nice;

View File

@ -0,0 +1 @@
allow installd self:process execmem;

View File

@ -0,0 +1 @@
allow system_server self:process execmem;

View File

@ -0,0 +1,2 @@
allow zygote self:process execmem;
allow zygote self:capability sys_nice;