sanders: Enable sepolicy
This commit is contained in:
@@ -177,8 +177,8 @@ TARGET_USERIMAGES_USE_F2FS := true
|
||||
TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)/releasetools
|
||||
|
||||
# SELinux
|
||||
#include device/qcom/sepolicy/sepolicy.mk
|
||||
#BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy
|
||||
include device/qcom/sepolicy/sepolicy.mk
|
||||
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy
|
||||
|
||||
# Sensor
|
||||
USE_SENSOR_MULTI_HAL := true
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs rw,discard,nosuid,nodev,noatime,nodiratime,nobarrier,inline_xattr,inline_data wait,check,formattable,encryptable=/dev/block/bootdevice/by-name/metadata
|
||||
/dev/block/bootdevice/by-name/cache /cache ext4 rw,noatime,nosuid,nodev,barrier=1,data=ordered wait,check,formattable
|
||||
/dev/block/bootdevice/by-name/modem /firmware ext4 ro,nosuid,nodev,barrier=0 wait
|
||||
/dev/block/bootdevice/by-name/fsg /fsg ext4 ro,nosuid,nodev wait
|
||||
/dev/block/bootdevice/by-name/modem /firmware ext4 ro,nosuid,nodev,barrier=0,context=u:object_r:firmware_file:s0 wait
|
||||
/dev/block/bootdevice/by-name/fsg /fsg ext4 ro,nosuid,nodev,context=u:object_r:fsg_file:s0 wait
|
||||
/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc wait
|
||||
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,context=u:object_r:persist_file:s0 wait
|
||||
/dev/block/bootdevice/by-name/boot /boot emmc defaults recoveryonly
|
||||
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults recoveryonly
|
||||
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
|
||||
|
||||
@@ -429,6 +429,7 @@ on post-fs-data
|
||||
service charger /charger
|
||||
class charger
|
||||
group log
|
||||
seclabel u:r:healthd:s0
|
||||
disabled
|
||||
|
||||
# Allow usb charging to be disabled peristently
|
||||
|
||||
Reference in New Issue
Block a user