android_device_samsung_msm8.../sepolicy/file_contexts

199 lines
14 KiB
Text
Raw Normal View History

# Block devices
/dev/block/platform/soc/624000\.sdhci/by-name/bota u:object_r:botablk_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/config u:object_r:frp_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/debug u:object_r:debug_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/dsp u:object_r:dsp_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/dtbo u:object_r:boot_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/efs u:object_r:efsblk_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/hidden u:object_r:hiddenblk_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/omr u:object_r:omr_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/param u:object_r:paramblk_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/persistent u:object_r:frp_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/sec_efs u:object_r:sec_efsblk_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/steady u:object_r:steady_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/vbmeta u:object_r:boot_block_device:s0
/dev/block/platform/soc/624000\.sdhci/by-name/vendor u:object_r:system_block_device:s0
2018-07-19 12:48:02 +02:00
# Binaries
/(vendor|system/vendor)/bin/hw/macloader u:object_r:macloader_exec:s0
/(vendor|system/vendor)/bin/secril_config_svc u:object_r:secril_config_svc_exec:s0
2018-07-19 12:48:02 +02:00
# Data files
/data/camera(/.*)? u:object_r:camera_socket:s0
/data/vendor/biometrics(/.*)? u:object_r:biometrics_vendor_data_file:s0
/data/vendor/conn(/.*)? u:object_r:vendor_convergence_data_file:s0
/data/vendor/gps(/.*)? u:object_r:vendor_gps_file:s0
/data/vendor/log(/.*)? u:object_r:vendor_log_file:s0
/data/vendor/log/audiopcm(/.*)? u:object_r:vendor_audiopcm_data_file:s0
/data/vendor/secradio(/.*)? u:object_r:vendor_radio_data_file:s0
2019-10-11 14:28:34 +02:00
# Devices
/dev/android_rndis_qc u:object_r:radio_device:s0
/dev/cdma_.* u:object_r:radio_device:s0
/dev/dbmdx-[0-9]+ u:object_r:audio_device:s0
/dev/dun u:object_r:dun_device:s0
/dev/esfp[0-9]+ u:object_r:fp_sensor_device:s0
/dev/gsm_.* u:object_r:radio_device:s0
/dev/link_pm u:object_r:radio_device:s0
/dev/mdm u:object_r:radio_device:s0
/dev/network_latency u:object_r:radio_device:s0
/dev/network_throughput u:object_r:radio_device:s0
/dev/nmea u:object_r:radio_device:s0
/dev/qmi[0-9]* u:object_r:radio_device:s0
/dev/tzic u:object_r:tz_device:s0
# EFS files
/efs/\.drm(/.*)? u:object_r:drm_efs_file:s0
/efs/\.nv_core\.bak(.*) u:object_r:nv_core_efs_file:s0
/efs/afc(/.*)? u:object_r:sec_efs_file:s0
/efs/apn-changes\.xml u:object_r:sec_efs_file:s0
/efs/Battery(/.*)? u:object_r:battery_efs_file:s0
/efs/bench(/.*)? u:object_r:sec_efs_file:s0
/efs/biometrics(/.*)? u:object_r:sec_efs_file:s0
/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
/efs/calibration_data u:object_r:sec_efs_file:s0
/efs/CamMotorSlideCnt u:object_r:app_efs_file:s0
/efs/carrier(/.*)? u:object_r:carrier_efs_file:s0
/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
/efs/DAK(/.*)? u:object_r:prov_efs_file:s0
/efs/drm(/.*)? u:object_r:drm_efs_file:s0
/efs/drx(/.*)? u:object_r:sec_efs_file:s0
/efs/dsms(/.*)? u:object_r:dsms_efs_file:s0
/efs/etc/poc(/.*)? u:object_r:sec_poc_file:s0
/efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
/efs/gatekeeper(/.*)? u:object_r:gatekeeper_efs_file:s0
/efs/grip_cal_data u:object_r:sec_efs_file:s0
/efs/gyro_cal_data u:object_r:sec_efs_file:s0
/efs/hw_offset u:object_r:sec_efs_file:s0
/efs/imei(/.*)? u:object_r:imei_efs_file:s0
/efs/ims_setting(/.*)? u:object_r:sec_efs_file:s0
/efs/iss(/.*)? u:object_r:iss_efs_file:s0
/efs/logguard(/.*)? u:object_r:iss_efs_file:s0
/efs/lpm(/.*)? u:object_r:sec_efs_file:s0
/efs/maxim(/.*)? u:object_r:sec_efs_file:s0
/efs/mb_po(/.*)? u:object_r:mb_po_efs_file:s0
/efs/mc(/.*)? u:object_r:prov_efs_file:s0
/efs/misc(/.*)? u:object_r:sec_efs_file:s0
/efs/nfc(/.*)? u:object_r:nfc_efs_file:s0
/efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0
/efs/nv_fsm_data\.bin u:object_r:bin_nv_data_efs_file:s0
/efs/nxp(/.*)? u:object_r:sec_efs_file:s0
/efs/osc_trim u:object_r:sec_efs_file:s0
/efs/otadm(/.*)? u:object_r:otadm_efs_file:s0
/efs/otadm_sw_version u:object_r:otadm_efs_file:s0
/efs/pdp_bkup(/.*)? u:object_r:pdp_efs_file:s0
/efs/pfw_data(/.*)? u:object_r:pfw_efs_file:s0
/efs/prov(/.*)? u:object_r:prov_efs_file:s0
/efs/prov_data(/.*)? u:object_r:prov_efs_file:s0
/efs/prox_cal u:object_r:sec_efs_file:s0
/efs/qualcomm(/.*)? u:object_r:sec_efs_file:s0
/efs/recovery(/.*)? u:object_r:sec_efs_file:s0
/efs/richtek(/.*)? u:object_r:sec_efs_file:s0
/efs/root(/.*)? u:object_r:app_efs_file:s0
/efs/sec_efs(/.*)? u:object_r:sec_efs_file:s0
/efs/sec_efs/iss/.policy_config u:object_r:sec_efs_file:s0
/efs/sec_efs/kpm(/.*)? u:object_r:kpm_efs_file:s0
/efs/sec_efs/retailmode(/.*)? u:object_r:retailmode_efs_file:s0
/efs/security(/.*)? u:object_r:prov_efs_file:s0
/efs/sktdm_mem(/.*)? u:object_r:sec_efs_file:s0
/efs/SlideCount u:object_r:app_efs_file:s0
/efs/SMS(/.*)? u:object_r:sec_efs_file:s0
/efs/snap(/.*)? u:object_r:snap_efs_file:s0
/efs/snapsec(/.*)? u:object_r:snapsec_efs_file:s0
/efs/ssm(/.*)? u:object_r:ssm_efs_file:s0
/efs/tas25xx(/.*)? u:object_r:sec_efs_file:s0
/efs/TEE(/.*)? u:object_r:prov_efs_file:s0
/efs/tee(/.*)? u:object_r:tee_efs_file:s0
/efs/usb_hw_param(/.*)? u:object_r:sec_efs_file:s0
/efs/vk(/.*)? u:object_r:vaultkeeper_efs_file:s0
/efs/vold(/.*)? u:object_r:sec_efs_file:s0
/efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
/efs/wv\.keys u:object_r:sec_efs_file:s0
/efs_gsm(/.*)? u:object_r:efs_gsm_file:s0
/mnt/vendor/efs(/.*)? u:object_r:efs_file:s0
/mnt/vendor/efs/\.drm(/.*)? u:object_r:drm_efs_file:s0
/mnt/vendor/efs/\.nv_core\.bak(.*) u:object_r:nv_core_efs_file:s0
/mnt/vendor/efs/Battery(/.*)? u:object_r:battery_efs_file:s0
/mnt/vendor/efs/bench(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
/mnt/vendor/efs/calibration_data u:object_r:sec_efs_file:s0
/mnt/vendor/efs/carrier(/.*)? u:object_r:carrier_efs_file:s0
/mnt/vendor/efs/cirrus(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
/mnt/vendor/efs/DAK(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/drm(/.*)? u:object_r:drm_efs_file:s0
/mnt/vendor/efs/drx(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/etc/poc(/.*)? u:object_r:sec_poc_file:s0
/mnt/vendor/efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
/mnt/vendor/efs/grip_cal_data u:object_r:sec_efs_file:s0
/mnt/vendor/efs/gyro_cal_data u:object_r:sec_efs_file:s0
/mnt/vendor/efs/hw_offset u:object_r:sec_efs_file:s0
/mnt/vendor/efs/imei(/.*)? u:object_r:imei_efs_file:s0
/mnt/vendor/efs/ims_setting(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/iss(/.*)? u:object_r:iss_efs_file:s0
/mnt/vendor/efs/logguard(/.*)? u:object_r:iss_efs_file:s0
/mnt/vendor/efs/maxim(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/mc(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/misc(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0
/mnt/vendor/efs/nv_fsm_data\.bin u:object_r:bin_nv_data_efs_file:s0
/mnt/vendor/efs/nxp(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/osc_trim u:object_r:sec_efs_file:s0
/mnt/vendor/efs/otadm(/.*)? u:object_r:otadm_efs_file:s0
/mnt/vendor/efs/otadm_sw_version u:object_r:otadm_efs_file:s0
/mnt/vendor/efs/pfw_data(/.*)? u:object_r:pfw_efs_file:s0
/mnt/vendor/efs/pn-changes\.xml u:object_r:sec_efs_file:s0
/mnt/vendor/efs/prov(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/prov_data(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/prox_cal u:object_r:sec_efs_file:s0
/mnt/vendor/efs/qualcomm(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/recovery(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/richtek(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/root(/.*)? u:object_r:app_efs_file:s0
/mnt/vendor/efs/sec_efs(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/sec_efs/iss/.policy_config u:object_r:sec_efs_file:s0
/mnt/vendor/efs/sec_efs/retailmode(/.*)? u:object_r:retailmode_efs_file:s0
/mnt/vendor/efs/security(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/sktdm_mem(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/SlideCount u:object_r:app_efs_file:s0
/mnt/vendor/efs/SMS(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/TEE(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/tee(/.*)? u:object_r:tee_efs_file:s0
/mnt/vendor/efs/usb_hw_param(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/vk(/.*)? u:object_r:vaultkeeper_efs_file:s0
/mnt/vendor/efs/vold(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
/mnt/vendor/efs/wv\.keys u:object_r:sec_efs_file:s0
2019-12-06 11:18:49 +01:00
2019-10-11 14:28:34 +02:00
# HALs
/(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\.miscpower@1\.0-service u:object_r:hal_power_default_exec:s0
# Rootfs
/firmware(/.*)? u:object_r:firmware_file:s0
/firmware_mnt(/.*)? u:object_r:firmware_file:s0
/firmware-modem(/.*)? u:object_r:firmware-modem_file:s0
/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
/omr(/.*)? u:object_r:omr_file:s0
/persist(/.*)? u:object_r:persist_file:s0
# Sys
/sys/class/camera(/.*)? -- u:object_r:sysfs_camera_writable:s0
/sys/class/lcd(/.*)? -- u:object_r:sysfs_lcd_writable:s0
/sys/class/power_supply(/.*)? -- u:object_r:sysfs_batteryinfo:s0
/sys/class/power_supply/battery(/.*)? -- u:object_r:sysfs_batteryinfo:s0
/sys/class/rfkill/rfkill[0-9]+/state -- u:object_r:sysfs_bluetooth_writable:s0
/sys/class/rfkill/rfkill[0-9]+/type -- u:object_r:sysfs_bluetooth_writable:s0
/sys/devices/platform/soc/soc:battery/power_supply(/.*)? -- u:object_r:sysfs_batteryinfo:s0
/sys/devices/virtual/audio/earjack/state u:object_r:sysfs_audio_writable:s0
/sys/devices/virtual/camera(/.*)? u:object_r:sysfs_camera_writable:s0
/sys/devices/virtual/fingerprint/fingerprint(/.*)? u:object_r:sysfs_fpc:s0
/sys/devices/virtual/lcd/panel(/.*)? u:object_r:sysfs_lcd_writable:s0
/sys/devices/virtual/mdnie(/.*)? -- u:object_r:sysfs_mdnie_writable:s0
/sys/devices/virtual/sec/tsp(/.*)? u:object_r:sysfs_tsp:s0