* commit '7717bcba28ce55bac10f6586feff89da569ff62b': Move goldfish-specific policy rules to their own directory.
This commit is contained in:
commit
8eec26e276
3 changed files with 6 additions and 0 deletions
|
@ -74,3 +74,6 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
BOARD_FLASH_BLOCK_SIZE := 512
|
||||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||||
|
|
||||||
|
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
||||||
|
BOARD_SEPOLICY_UNION += domain.te surfaceflinger.te
|
||||||
|
|
2
target/board/generic/sepolicy/domain.te
Normal file
2
target/board/generic/sepolicy/domain.te
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# For /sys/qemu_trace files in the emulator.
|
||||||
|
allow domain sysfs_writable:file rw_file_perms;
|
1
target/board/generic/sepolicy/surfaceflinger.te
Normal file
1
target/board/generic/sepolicy/surfaceflinger.te
Normal file
|
@ -0,0 +1 @@
|
||||||
|
allow surfaceflinger self:process execmem;
|
Loading…
Reference in a new issue