matisse-common: Add sepolicy type flag
This commit is contained in:
parent
0cb10f28c8
commit
4d614cef68
|
@ -93,6 +93,7 @@ BOARD_RECOVERY_SWIPE := true
|
|||
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/fstab.qcom
|
||||
|
||||
# SELinux
|
||||
CONFIG_MATISSE_SEPOLICY_TYPE := temporary
|
||||
include $(COMMON_PATH)/sepolicy/sepolicy.mk
|
||||
|
||||
# Sensors
|
||||
|
|
|
@ -15,5 +15,10 @@
|
|||
#
|
||||
|
||||
# Board specific SELinux policy variable definitions
|
||||
ifeq($(CONFIG_MATISSE_SEPOLICY_TYPE), temporary)
|
||||
BOARD_SEPOLICY_DIRS += \
|
||||
device/samsung/s3ve3g-common/sepolicy/temporary
|
||||
else
|
||||
BOARD_SEPOLICY_DIRS += \
|
||||
device/samsung/matisse-common/sepolicy/common
|
||||
endif
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
type tmp_root_mount_file, file_type;
|
|
@ -0,0 +1,6 @@
|
|||
# firmware files
|
||||
/bt_firmware(/.*)? u:object_r:tmp_root_mount_file:s0
|
||||
/firmware(/.*)? u:object_r:tmp_root_mount_file:s0
|
||||
/firmware-modem(/.*)? u:object_r:tmp_root_mount_file:s0
|
||||
/persist(/.*)? u:object_r:tmp_root_mount_file:s0
|
||||
/tombstones(/.*)? u:object_r:tmp_root_mount_file:s0
|
Loading…
Reference in New Issue