Remove marlin/sailfish specific sepolicy
am: 6fdf938751
Change-Id: I76638cb2f1eb9d9f367161c53594c5138cfef05a
This commit is contained in:
@@ -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
|
||||
|
7
target/board/generic_arm64_ab/sepolicy/file.te
Normal file
7
target/board/generic_arm64_ab/sepolicy/file.te
Normal 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;
|
13
target/board/generic_arm64_ab/sepolicy/file_contexts
Normal file
13
target/board/generic_arm64_ab/sepolicy/file_contexts
Normal 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
|
Reference in New Issue
Block a user