blob: af382bbad63937de9908ab0ce1fa50c6046bac3d [file] [log] [blame]
## Data Files
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
/data/vendor/nfc(/.*)? u:object_r:nfc_vendor_data_file:s0
## Devices
/dev/block/platform/.+/by-name/dtb u:object_r:dtb_block_device:s0
/dev/block/platform/.+/by-name/radio2 u:object_r:radio_block_device:s0
/dev/block/platform/13d60000.ufs/by-name/omr u:object_r:metadata_block_device:s0
/dev/block/platform/13d60000.ufs/by-name/system u:object_r:super_block_device:s0
# Camera
/dev/jsqz u:object_r:jsqz_device:s0
/dev/m2m1shot_scaler0 u:object_r:m2m1shot_device:s0
# Fingerprint
/dev/qbt2000_fd u:object_r:fp_sensor_device:s0
/dev/qbt2000_ipc u:object_r:fp_sensor_device:s0
# Graphics
/dev/mali[0-9] u:object_r:gpu_device:s0
/dev/g2d u:object_r:graphics_device:s0
# NFC
/dev/sec-nfc u:object_r:nfc_device:s0
# RIL
/dev/modem_boot_spi u:object_r:vendor_radio_device:s0
/dev/nr_boot0 u:object_r:vendor_radio_device:s0
/dev/nr_dm0 u:object_r:vendor_radio_device:s0
/dev/nr_ipc[0-1] u:object_r:vendor_radio_device:s0
/dev/nr_ramdump0 u:object_r:vendor_radio_device:s0
/dev/nr_rfs0 u:object_r:vendor_radio_device:s0
/dev/nr_router u:object_r:vendor_radio_device:s0
# Secmem
/dev/s5p-smem u:object_r:secmem_device:s0
# Sensors
/dev/max_hrm u:object_r:sensors_device:s0
# Soundtrigger
/dev/vts_fio_dev u:object_r:vts_fio_device:s0
# ZRAM
/dev/block/zram0 u:object_r:swap_block_device:s0
## EFS
/efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
/efs/TEE(/.*)? u:object_r:prov_efs_file:s0
/efs/biometrics(/.*)? u:object_r:sec_efs_file:s0
/efs/cpdebug(/.*)? u:object_r:cpdebug_efs_file:s0
/efs/cirrus(/.*)? u:object_r:sec_efs_file:s0
/efs/lpm(/.*)? u:object_r:sec_efs_file:s0
/efs/recovery(/.*)? u:object_r:sec_efs_file:s0
/efs/sec_efs(/.*)? u:object_r:sec_efs_file:s0
/efs/ssm(/.*)? u:object_r:ssm_efs_file:s0
/efs/usb_hw_param(/.*)? u:object_r:sec_efs_file:s0
/efs/wv.keys u:object_r:sec_efs_file:s0
/mnt/vendor/efs/spen(/.*)? u:object_r:spen_efs_file:s0
## Sysfs
# Block
/sys/devices/platform/(.*)/block/sda/queue/discard_max_bytes u:object_r:sysfs_block_writable:s0
/sys/devices/platform/(.*)/block/sda/queue/read_ahead_kb u:object_r:sysfs_block_writable:s0
/sys/devices/platform/(.*)/block/mmcblk0/mmcblk0p[0-9]+/start u:object_r:sysfs_block:s0
# Camera
/sys/devices/virtual/camera/flash/rear_flash u:object_r:sysfs_camera_writable:s0
/sys/devices/virtual/camera/rear/fw_update u:object_r:sysfs_camera_writable:s0
/sys/devices/virtual/camera/rear/ssrm_camera_info u:object_r:sysfs_camera_writable:s0
/sys/devices/virtual/camera(/.*) u:object_r:sysfs_camera:s0
# Extcon
/sys/devices/platform/(.*)/extcon/extcon[0-9]/cable.[0-9]/name u:object_r:sysfs_extcon:s0
/sys/devices/platform/(.*)/extcon/extcon[0-9]/state u:object_r:sysfs_extcon:s0
# S Pen
/sys/devices/virtual/sec/sec_epen(/.*)? u:object_r:sysfs_spen:s0
# Sensors
/sys/devices/platform/10970000.spi/spi_master/spi17/spi17.0(/.*) u:object_r:sysfs_iio:s0
/sys/devices/platform/10970000.spi/spi_master/spi17/spi17.0(/.*)/poll_delay u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/10970000.spi/spi_master/spi17/spi17.0(/.*)/buffer/enable u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/10970000.spi/spi_master/spi17/spi17.0(/.*)/buffer/length u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/15c40000.adc(/.*) u:object_r:sysfs_iio:s0
/sys/devices/virtual/input/input[0-9]/enable u:object_r:sysfs_input_writable:s0
/sys/devices/virtual/input/input[0-9]/poll_delay u:object_r:sysfs_input_writable:s0
/sys/devices/virtual/sec/hall_ic(/.*) u:object_r:sysfs_sec_key:s0
# Wakeup
/sys/devices/platform/(.*)/wakeup[0-9]*(/.*)? u:object_r:sysfs_wakeup:s0
## Vendor
/(vendor|system/vendor)/bin/hw/gps.sh u:object_r:gpsd_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.spen-service\.davinci u:object_r:hal_samsung_spen_default_exec:s0