From 27184f26a0908415e6a8ad6d4aa2ad67385404a7 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 7 Jul 2019 22:36:06 +0200 Subject: [PATCH] sm8150-common: sepolicy: Reoder file_contexts Change-Id: Id1bfe22c50a2a2b81fb00dee7d4185fdddb02819 --- sepolicy/vendor/file_contexts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 31ac0d8c..9171eca5 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -1,22 +1,12 @@ -# Data files -/data/vendor/oemnvitems/4678_0 u:object_r:wifi_nv_data_file:s0 -/data/vendor/oemnvitems/4678_1 u:object_r:wifi_nv_data_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:fingerprint_detect/sensor_version u:object_r:sysfs_fpc:s0 -/sys/devices/platform/vendor/vendor:motor_pl(/.*)? u:object_r:sysfs_motor:s0 -/sys/elliptic/engine/calibration_v2 u:object_r:sysfs_audio:s0 -/sys/project_info(/.*)? u:object_r:sysfs_project_info:s0 - # Binaries /(vendor|system/vendor)/bin/bt-mac-generator u:object_r:bt_mac_generator_exec:s0 /(vendor|system/vendor)/bin/vl53l1_daemon_main u:object_r:vl53l1_daemon_main_exec:s0 /(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi_mac_generator_exec:s0 +# Data files +/data/vendor/oemnvitems/4678_0 u:object_r:wifi_nv_data_file:s0 +/data/vendor/oemnvitems/4678_1 u:object_r:wifi_nv_data_file:s0 + # HALs /(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.oneplus_msmnile u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_msmnile u:object_r:hal_light_default_exec:s0 @@ -31,3 +21,13 @@ /(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.param@1\.0-service u:object_r:hal_param_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.rpmb@1\.0-service u:object_r:hal_rpmb_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.wifi@1\.0-service u:object_r:hal_wifi_default_exec:s0 + +# Root files +/op1(/.*)? u:object_r:op1_file:s0 +/op2(/.*)? u:object_r:op2_file:s0 + +# Sys files +/sys/devices/platform/soc/soc:fingerprint_detect/sensor_version u:object_r:sysfs_fpc:s0 +/sys/devices/platform/vendor/vendor:motor_pl(/.*)? u:object_r:sysfs_motor:s0 +/sys/elliptic/engine/calibration_v2 u:object_r:sysfs_audio:s0 +/sys/project_info(/.*)? u:object_r:sysfs_project_info:s0