diff options
| author | Georg Veichtlbauer <georg@vware.at> | 2021-09-06 18:16:52 +0200 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2021-09-06 18:16:52 +0200 |
| commit | c73e5fb52146f02d729ca37bfd1e3b3f14caf654 (patch) | |
| tree | 5a14af7908686c0b57e84fac7b9be22a4e215876 | |
| parent | ceeb6ff17653d645b71fc2a1467998cc6c8bce0f (diff) | |
dumpling: sepolicy: Import goodix file contexts
Change-Id: I9c8e8cd5de733a255761fa5ccd9ea2f1af5f4463
| -rw-r--r-- | BoardConfig.mk | 3 | ||||
| -rw-r--r-- | sepolicy/vendor/file_contexts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index bdc4d9f..2c11b1e 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -31,6 +31,9 @@ DEVICE_PATH := device/oneplus/dumpling TARGET_BOARD_INFO_FILE ?= $(DEVICE_PATH)/board-info.txt TARGET_OTA_ASSERT_DEVICE := dumpling,OnePlus5T,oneplus5t +# SELinux +BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor + # inherit from the proprietary version -include vendor/oneplus/dumpling/BoardConfigVendor.mk diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts new file mode 100644 index 0000000..2b97426 --- /dev/null +++ b/sepolicy/vendor/file_contexts @@ -0,0 +1,3 @@ +# Fingerprint +/dev/goodix_fp u:object_r:fingerprint_device:s0 +/sys/devices/soc/soc:goodix_fp/proximity_state u:object_r:sysfs_fpc_proximity:s0 |
