Remove marlin/sailfish specific sepolicy

am: 6fdf938751

Change-Id: I76638cb2f1eb9d9f367161c53594c5138cfef05a
This commit is contained in:
Jiyong Park
2017-03-30 07:47:17 +00:00
committed by android-build-merger
3 changed files with 24 additions and 6 deletions

View File

@@ -85,10 +85,8 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
BOARD_NAND_SPARE_SIZE := 0
BOARD_FLASH_BLOCK_SIZE := 512
###############################################################################
# Below are sailfish/marlin specific configs.
# Must be moved after early-mount is supported.
###############################################################################
BOARD_SEPOLICY_DIRS += device/google/marlin/sepolicy
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
# TODO(b/36764215): remove this setting when the generic system image
# no longer has QCOM-specific directories under /.
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy

View File

@@ -0,0 +1,7 @@
# TODO(b/36764215): remove this file when the generic system image
# no longer has these directories
type bt_firmware_file, file_type;
type persist_file, file_type;
# Default type for anything under /firmware.
type firmware_file, fs_type, contextmount_type;

View File

@@ -0,0 +1,13 @@
# TODO(b/36764215): remove this file when the generic system image
# no longer has these directories. They are specific to QCOM.
# /
/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
/tombstones u:object_r:rootfs:s0
/dsp u:object_r:rootfs:s0
# /persist
/persist(/.*)? u:object_r:persist_file:s0
# files in firmware
/firmware(/.*)? u:object_r:firmware_file:s0