summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorDan Cashman <dcashman@google.com>2017-06-01 15:25:22 -0700
committerIsaac Chen <tingyi364@gmail.com>2019-09-01 16:44:11 +0200
commit9b828d96673248befa83f35e393c6819a3c232d3 (patch)
tree265c4dfcd9caed93c57f847005bba3872f4ebbd3 /sepolicy/file_contexts
parent915e5bfa31e8f1f725e9e3461370c8535017d2e8 (diff)
wayne-common: Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions. Also add such an extension: a labeling of the qti.ims.ext service. Bug: 38151691 Bug: 62041272 Test: Policy binary identical before and after, except plat_service_contexts has new service added. Change-Id: I1493c4c8876c4446a1de46b39942098bf49c79f8
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts45
1 files changed, 0 insertions, 45 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
deleted file mode 100644
index 6939ff5..0000000
--- a/sepolicy/file_contexts
+++ /dev/null
@@ -1,45 +0,0 @@
-# Biometric
-/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_wayne u:object_r:hal_fingerprint_wayne_exec:s0
-
-# Fpc Fingerprint
-/sys/devices/soc/soc:fpc1020(/.*)? u:object_r:fingerprint_sysfs:s0
-
-# For Goodix fingerprint
-/dev/goodix_fp* u:object_r:fingerprint_device:s0
-
-# Goodix Fingerprint data
-/data/gf_data/frr_database.db u:object_r:fingerprint_data_file:s0
-/data/misc/gf_data(/.*)? u:object_r:fingerprint_data_file:s0
-/data/misc/goodix(/.*)? u:object_r:fingerprint_data_file:s0
-/persist/data/gf* u:object_r:fingerprint_data_file:s0
-
-# Fpc Fingerprint data
-/persist/fpc(/.*)? u:object_r:fingerprint_data_file:s0
-
-# HVDCP
-/sys/devices(/platform)?/soc/[a-z0-9]+\.i2c/i2c-[0-9]+/[0-9]+-[a-z0-9]+/[a-z0-9]+\.i2c:qcom,[a-z0-9]+@[a-z0-9]:qcom,smb[a-z0-9]+-parallel-slave@[0-9]+/power_supply/parallel(/.*)? u:object_r:sysfs_usb_supply:s0
-
-# IR
-/dev/spidev7.1 u:object_r:spidev_device:s0
-
-# Keylayout
-/vendor/usr/idc(/.*)? u:object_r:vendor_keylayout_file:s0
-/vendor/usr/keylayout(/.*)? u:object_r:vendor_keylayout_file:s0
-
-# Light HAL
-/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_wayne u:object_r:hal_light_default_exec:s0
-
-# Mlipay
-/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
-
-# Persist
-/persist/PRSensorData\.txt u:object_r:sensors_persist_file:s0
-
-# RTC
-/sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-00/800f000.qcom,spmi:qcom,pm660@0:qcom,pm660_rtc/rtc/rtc0(/.*)? u:object_r:sysfs_rtc:s0
-
-# Shell Script
-/(vendor|system/vendor)/bin/init\.goodix\.sh u:object_r:init_fingerprint_exec:s0
-
-# Thermal
-/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0