Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d79ff6c authored by Akshay Kakatkar's avatar Akshay Kakatkar Committed by KakatkarAkshay
Browse files

avicii: Initial vendor sepolicy

* Borrowed from https://github.com/LineageOS/android_device_oneplus_sm8150-common/tree/lineage-17.1/sepolicy
Change-Id: Ib429b26a126d606949bbe805e931130ffca5fc3b

Change-Id: Id12cd4cdc3a5210f78fe8b2e6548d287624eed30
parent f61757ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

# Treble
BOARD_VNDK_VERSION := current
PRODUCT_FULL_TREBLE_OVERRIDE := true

# ANT+
BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl"
@@ -184,7 +185,6 @@ ENABLE_VENDOR_RIL_SERVICE := true
# Sepolicy
include device/qcom/sepolicy/sepolicy.mk

BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(DEVICE_PATH)/sepolicy/private
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor

# Verified Boot

sepolicy/private/attributes

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
hal_attribute(display)

sepolicy/private/dashd.te

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
type dashd, coredomain, domain;
type dashd_exec, exec_type, system_file_type, file_type;

sepolicy/private/file_contexts

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
# Data files
/data/misc/display(/.*)?      u:object_r:display_misc_file:s0

# Files in rootfs
/op1(/.*)?       u:object_r:op1_file:s0
/op2(/.*)?       u:object_r:op2_file:s0

# Files in sysfs
/sys/devices/platform/soc/soc:goodix_fp/proximity_state    u:object_r:sysfs_fpc_proximity:s0

# DASH
/system/bin/dashd    u:object_r:dashd_exec:s0

sepolicy/private/genfs_contexts

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
# Display
genfscon proc  /touchpanel u:object_r:proc_touchpanel:s0
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/card0-DSI-1/op_friginer_print_hbm u:object_r:sysfs_fod:s0
Loading