Merge "Move goldfish-specific policy rules to their own directory."

This commit is contained in:
Nick Kralevich
2013-11-06 23:58:08 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 0 deletions

View File

@@ -52,3 +52,6 @@ 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/sepolicy
BOARD_SEPOLICY_UNION += domain.te surfaceflinger.te

View File

@@ -0,0 +1,2 @@
# For /sys/qemu_trace files in the emulator.
allow domain sysfs_writable:file rw_file_perms;

View File

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