diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index cd72c91..0b48dfe 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -62,6 +62,9 @@ BOARD_FLASH_BLOCK_SIZE := 131072 # Properties BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true +# SELinux +BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(COMMON_PATH)/sepolicy/private + # Vendor TARGET_COPY_OUT_VENDOR := vendor diff --git a/sepolicy/private/fastbootd.te b/sepolicy/private/fastbootd.te new file mode 100644 index 0000000..742f31e --- /dev/null +++ b/sepolicy/private/fastbootd.te @@ -0,0 +1,5 @@ +recovery_only(` +userdebug_or_eng(` +permissive fastbootd; +') +')