android_device_samsung_msm8.../sepolicy/file_contexts
Deokgyu Yang 6d5ad29b1e SELinux: Remove readfem, readmac
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idecc1a6e33dc91c8a6e6242067ecf2bd8d92ec2f
2021-05-13 17:13:39 +09:00

58 lines
3.9 KiB
Text

# Devices
/dev/captouch u:object_r:captouch_device:s0
/dev/elliptic(.*)? u:object_r:sound_device:s0
/dev/pn548 u:object_r:nfc_device:s0
/dev/sysmatdrv u:object_r:sysmatdrv_device:s0
# Sys files
/sys/devices/soc/75b7000\.i2c/i2c-9/9-[0-9a-f]+/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/soc/leds-qpnp-[0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/soc/75ba000\.i2c/i2c-12/12-[0-9a-f]+/panel_(color|vendor) u:object_r:sysfs_panel:s0
/sys/devices/soc/75ba000\.i2c/i2c-12/12-[0-9a-f]+/input/input[0-9]+/0dbutton u:object_r:proc_touchpanel:s0
/sys/devices/soc/75ba000\.i2c/i2c-12/12-[0-9a-f]+(/input/input[0-9]+)?/reversed_keys u:object_r:proc_touchpanel:s0
/sys/devices/soc/75ba000\.i2c/i2c-12/12-[0-9a-f]+/input/input[0-9]+/wake_gesture u:object_r:proc_touchpanel:s0
/sys/devices/soc/75ba000\.i2c/i2c-12/12-[0-9a-f]+/wakeup_mode u:object_r:proc_touchpanel:s0
/sys/devices/soc/soc:fpc_fpc1020/irq u:object_r:sysfs_fpc:s0
/sys/devices/soc/soc:fpc_fpc1020/enable_key_events u:object_r:sysfs_fpc_keyevents:s0
/sys/devices/soc/soc:fpc_fpc1020/enable_wakeup u:object_r:sysfs_fpc_wakeup:s0
/sys/devices/soc/soc:fpc_fpc1020/proximity_state u:object_r:sysfs_fpc_proximity:s0
/sys/module/cnss_common/parameters/bdwlan_file u:object_r:sysfs_cnss_common:s0
# Data files
/data/fpc(/.*)? u:object_r:fpc_data_file:s0
/data/camera(/.*)? u:object_r:camera_socket:s0
/data/connectivity(/.*)? u:object_r:cnd_core_data_file:s0
/data/decrypt\.txt u:object_r:thermal_data_file:s0
/data/misc/stargate(/.*)? u:object_r:qfp-daemon_core_data_file:s0
# Persist files
/(mnt/vendor)/persist/audio/us_cal u:object_r:persist_usf_cal_file:s0
/(mnt/vendor)/persist/PRSensorData\.txt u:object_r:sensors_persist_file:s0
/(mnt/vendor)/persist/PSensor3cm_ct\.txt u:object_r:sensors_persist_file:s0
/(mnt/vendor)/persist/qc_senseid(/.*)? u:object_r:persist_qc_senseid_file:s0
# Binaries
/system/bin/chargeonlymode u:object_r:charger_exec:s0
# HALs
/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.1-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.1-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.0-service\.samsung u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.1-service\.gts3l u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.camera\.provider@3\.0-service u:object_r:hal_camera_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.miscpower@2\.0-service u:object_r:hal_power_default_exec:s0
# Shell scripts
/(vendor|system/vendor)/bin/init\.panel\.sh u:object_r:init_panel_exec:s0
/(vendor|system/vendor)/bin/init\.tfa\.sh u:object_r:init_tfa_exec:s0