blob: 14c3f2bc9d2104d804e989e675716d5f9c04ba38 [file] [log] [blame]
# file_contexts
### DATA
/data/vendor/biometrics(/.*)? u:object_r:biometrics_vendor_data_file:s0
/data/vendor/conn(/.*)? u:object_r:conn_vendor_data_file:s0
/data/vendor/display(/.*)? u:object_r:display_vendor_data_file:s0
/data/vendor/gps(/.*)? u:object_r:gps_vendor_data_file:s0
/data/vendor/wifi(/.*)? u:object_r:wifi_vendor_data_file:s0
/data/vendor/log(/.*)? u:object_r:log_vendor_data_file:s0
/data/vendor/log/cbd(/.*)? u:object_r:log_cbd_vendor_data_file:s0
/data/vendor/secradio(/.*)? u:object_r:radio_vendor_data_file:s0
### DEV
/dev/block/platform/.+/by-name/(boot|BOOT) u:object_r:boot_block_device:s0
/dev/block/platform/.+/by-name/(cache|CACHE) u:object_r:cache_block_device:s0
/dev/block/platform/.+/by-name/(cpefs|CPEFS) u:object_r:cpefs_block_device:s0
/dev/block/platform/.+/by-name/(efs|EFS) u:object_r:efs_block_device:s0
/dev/block/platform/.+/by-name/(dqmdbg|DQMDBG) u:object_r:dqmdbg_block_device:s0
/dev/block/platform/.+/by-name/dtbo u:object_r:dtbo_block_device:s0
/dev/block/platform/.+/by-name/keydata u:object_r:keydata_block_device:s0
/dev/block/platform/.+/by-name/keyrefuge u:object_r:keyrefuge_block_device:s0
/dev/block/platform/.+/by-name/metadata u:object_r:metadata_block_device:s0
/dev/block/platform/.+/by-name/(misc|MISC) u:object_r:misc_block_device:s0
/dev/block/platform/.+/by-name/modem u:object_r:modem_block_device:s0
/dev/block/platform/.+/by-name/(odm|ODM) u:object_r:system_block_device:s0
/dev/block/platform/.+/by-name/(omr|OMR) u:object_r:omr_block_device:s0
/dev/block/platform/.+/by-name/(persistent|PERSISTENT) u:object_r:frp_block_device:s0
/dev/block/platform/.+/by-name/product u:object_r:system_block_device:s0
/dev/block/platform/.+/by-name/(radio|RADIO) u:object_r:radio_block_device:s0
/dev/block/platform/.+/by-name/(recovery|RECOVERY) u:object_r:recovery_block_device:s0
/dev/block/platform/.+/by-name/sec_efs u:object_r:sec_efs_block_device:s0
/dev/block/platform/.+/by-name/steady u:object_r:steady_block_device:s0
/dev/block/platform/.+/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/.+/by-name/(system|SYSTEM) u:object_r:system_block_device:s0
/dev/block/platform/.+/by-name/(userdata|USERDATA) u:object_r:userdata_block_device:s0
/dev/block/platform/.+/by-name/(vendor|VENDOR) u:object_r:system_block_device:s0
/dev/block/platform/.+/by-name/vbmeta u:object_r:vbmeta_block_device:s0
/dev/esfp[0-9] u:object_r:fp_sensor_device:s0
/dev/batch_io u:object_r:io_device:s0
/dev/ssp_sensorhub u:object_r:ssp_device:s0
/dev/thermal(/.*)? u:object_r:thermal_link_device:s0
# bluetooth
/dev/ttySAC[0-9] u:object_r:bt_device:s0
# cpu
/dev/cpu_dma_latency u:object_r:cpu_dma_device:s0
### DIT device
/dev/dit u:object_r:dit_device:s0
### epic
/dev/mode u:object_r:epic_device:s0
/dev/socket/epic u:object_r:epicd_socket:s0
### gnss/gps
/dev/bbd_control u:object_r:bbd_device:s0
/dev/bbd_packet u:object_r:bbd_device:s0
/dev/bbd_patch u:object_r:bbd_device:s0
/dev/bbd_reliable u:object_r:bbd_device:s0
/dev/bbd_sensor u:object_r:bbd_device:s0
/dev/bbd_sio u:object_r:bbd_device:s0
/dev/bbd_urgent_patch u:object_r:bbd_device:s0
/dev/ttyBCM[0-9]* u:object_r:bbd_device:s0
### qos
/dev/bus_throughput u:object_r:pm_qos_device:s0
/dev/bus_throughput_max u:object_r:pm_qos_device:s0
/dev/cluster0_freq_max u:object_r:pm_qos_device:s0
/dev/cluster0_freq_min u:object_r:pm_qos_device:s0
/dev/cluster1_freq_max u:object_r:pm_qos_device:s0
/dev/cluster1_freq_min u:object_r:pm_qos_device:s0
/dev/cluster2_freq_max u:object_r:pm_qos_device:s0
/dev/cluster2_freq_min u:object_r:pm_qos_device:s0
/dev/cpu_online_max u:object_r:pm_qos_device:s0
/dev/cpu_online_min u:object_r:pm_qos_device:s0
/dev/device_throughput u:object_r:pm_qos_device:s0
/dev/device_throughput_max u:object_r:pm_qos_device:s0
/dev/gpu_freq_max u:object_r:pm_qos_device:s0
/dev/gpu_freq_min u:object_r:pm_qos_device:s0
/dev/mfc_throughput u:object_r:pm_qos_device:s0
/dev/mfc_throughput_max u:object_r:pm_qos_device:s0
/dev/network_throughput u:object_r:radio_qos_device:s0
/dev/npu_throughput u:object_r:pm_qos_device:s0
/dev/npu_throughput_max u:object_r:pm_qos_device:s0
### radio
# DRB
/dev/drb u:object_r:drb_device:s0
# UMTS
/dev/umts_boot0 u:object_r:vendor_radio_device:s0
/dev/umts_cass u:object_r:vendor_radio_device:s0
/dev/umts_ipc[0-1] u:object_r:vendor_radio_device:s0
/dev/umts_dm0 u:object_r:vendor_radio_device:s0
/dev/umts_rfs0 u:object_r:vendor_radio_device:s0
/dev/umts_router u:object_r:vendor_radio_device:s0
### EFS
/efs/Battery(/.*)? u:object_r:battery_efs_file:s0
/efs/DAK(/.*)? u:object_r:prov_efs_file:s0
/efs/afc(/.*)? u:object_r:sec_efs_file:s0
/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
/efs/imei(/.*)? u:object_r:imei_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/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/root(/.*)? u:object_r:app_efs_file:s0
/efs/tee(/.*)? u:object_r:tee_efs_file:s0
/efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
/mnt/vendor/efs(/.*)? u:object_r:efs_file:s0
/mnt/vendor/efs/DAK(/.*)? u:object_r:prov_efs_file:s0
/mnt/vendor/efs/afc(/.*)? u:object_r:sec_efs_file:s0
/mnt/vendor/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
/mnt/vendor/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
/mnt/vendor/efs/imei(/.*)? u:object_r:imei_efs_file:s0
/mnt/vendor/efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0
/mnt/vendor/efs/pfw_data(/.*)? u:object_r:pfw_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/root(/.*)? u:object_r:app_efs_file:s0
/mnt/vendor/efs/tee(/.*)? u:object_r:tee_efs_file:s0
/mnt/vendor/efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
## VaultKeeper
/dev/socket/vaultkeeper u:object_r:vaultkeeperd_socket:s0
### VENDOR
/(vendor|system/vendor)/bin/cass u:object_r:cass_exec:s0
/(vendor|system/vendor)/bin/cbd u:object_r:cbd_exec:s0
/(vendor|system/vendor)/bin/secril_config_svc u:object_r:secril_config_svc_exec:s0
/(vendor|system/vendor)/bin/thermal_symlinks\.samsung u:object_r:init-thermal-symlinks-sh_exec:s0
/(vendor|system/vendor)/bin/vaultkeeperd u:object_r:vaultkeeperd_exec:s0
/(vendor|system/vendor)/bin/hw/gpsd u:object_r:gpsd_exec:s0
/(vendor|system/vendor)/bin/hw/lhd u:object_r:lhd_exec:s0
/(vendor|system/vendor)/bin/hw/macloader u:object_r:macloader_exec:s0
/(vendor|system/vendor)/bin/hw/sehradiomanager u:object_r:sehradiomanager_exec:s0
/(vendor|system/vendor)/bin/rebalance_interrupts-vendor u:object_r:rebalance_interrupts_vendor_exec:s0
/(vendor|system/vendor)/lib(64)?/hw/gralloc\.exynos[0-9]*\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/hw/vulkan\.mali\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libion_exynos\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/bin/hw/android.hardware.sensors(@[0-9].[0-9])?-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint(@[0-9].[0-9])?-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@[0-9]\.[0-9]-service(_64)?\.samsung u:object_r:hal_camera_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.composer\.hwc3-service\.slsi u:object_r:hal_graphics_composer_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health-service\.samsung u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@[0-9]\.[0-9]-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light(@[0-9].[0-9])?-service\.samsung u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.memtrack-service\.samsung-mali u:object_r:hal_memtrack_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power@[0-9].[0-9]-service\.exynos u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power(@[0-9]\.[0-9])?-service\.pixel-libperfmgr u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal(@[0-9].[0-9])?-service\.samsung u:object_r:hal_thermal_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb(@[0-9]\.[0-9])?-service\.samsung u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb\.gadget-service\.samsung u:object_r:hal_usb_gadget_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@[0-9]\.[0-9]-service\.samsung u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator(@[0-9].[0-9])?-service\.samsung(-haptic)? u:object_r:hal_vibrator_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.powershare@[0-9].[0-9]-service\.samsung u:object_r:hal_lineage_powershare_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.fastcharge@[0-9]\.[0-9]-service\.samsung u:object_r:hal_lineage_fastcharge_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch\@[0-9]\.[0-9]-service.samsung u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.gnss@[0-9].[0-9]-service u:object_r:hal_gnss_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.configstore@[0-9]\.[0-9]-service u:object_r:hal_vendor_configstore_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.ExynosHWCServiceTW@[0-9]\.[0-9]-service u:object_r:hal_vendor_hwcservice_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung_slsi\.hardware\.tetheroffload@[0-9]\.[0-9]-service u:object_r:hal_tetheroffload_default_exec:s0
/(vendor|system/vendor)/firmware(/.*)? u:object_r:vendor_firmware_file:s0