diff options
author | Nick Kralevich <nnk@google.com> | 2014-03-11 18:08:37 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-11 18:08:37 +0000 |
commit | a705e44d0b7c2d528de31d01b52e6be9d0163c10 (patch) | |
tree | 92113cde21da9c276122559e8b6be22d2b03f4c3 /target | |
parent | 84ee17bd65788c691e3dfa2574f004fd5f245623 (diff) | |
parent | 9edc9783d21f59bc532e2b7b62ae2464ee976438 (diff) | |
download | build-a705e44d0b7c2d528de31d01b52e6be9d0163c10.zip build-a705e44d0b7c2d528de31d01b52e6be9d0163c10.tar.gz build-a705e44d0b7c2d528de31d01b52e6be9d0163c10.tar.bz2 |
am 9edc9783: Merge "Add policy for MIPS emulator, fix x86 policy."
* commit '9edc9783d21f59bc532e2b7b62ae2464ee976438':
Add policy for MIPS emulator, fix x86 policy.
Diffstat (limited to 'target')
-rw-r--r-- | target/board/generic_mips/BoardConfig.mk | 14 | ||||
-rw-r--r-- | target/board/generic_x86/sepolicy/domain.te | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/target/board/generic_mips/BoardConfig.mk b/target/board/generic_mips/BoardConfig.mk index e16374b..85bf7d7 100644 --- a/target/board/generic_mips/BoardConfig.mk +++ b/target/board/generic_mips/BoardConfig.mk @@ -56,3 +56,17 @@ 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 += \ + adbd.te \ + bootanim.te \ + device.te \ + domain.te \ + file.te \ + file_contexts \ + mediaserver.te \ + qemud.te \ + rild.te \ + surfaceflinger.te \ + system_server.te diff --git a/target/board/generic_x86/sepolicy/domain.te b/target/board/generic_x86/sepolicy/domain.te index 0bc8d87..c17950d 100644 --- a/target/board/generic_x86/sepolicy/domain.te +++ b/target/board/generic_x86/sepolicy/domain.te @@ -1 +1,3 @@ +# For /sys/qemu_trace files in the emulator. +allow domain sysfs_writable:file rw_file_perms; allow domain cpuctl_device:dir search; |