blob: a1faf2124c07f36d84a175a9bc3f4818eabf80e3 [file] [log] [blame]
## Data Files
/data/vendor/camera(/.*)? u:object_r:camera_vendor_data_file:s0
/data/vendor/display(/.*)? u:object_r:display_vendor_data_file:s0
/data/vendor/media(/.*)? u:object_r:media_vendor_data_file:s0
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
/data/camera(/.*)? u:object_r:camera_data_file:s0
## Devices
/dev/block/platform/.+/by-name/cpefs u:object_r:cpefs_block_device:s0
# Bluetooth
/dev/scsc_h4_0 u:object_r:bt_device:s0
# Camera
/dev/m2m1shot_scaler0 u:object_r:m2m1shot_device:s0
# GPS
/dev/gnss_ipc u:object_r:gnss_device:s0
# Graphics
/dev/mali[0-9] u:object_r:gpu_device:s0
/dev/g2d u:object_r:graphics_device:s0
# Secmem
/dev/s5p-smem u:object_r:secmem_device:s0
# ZRAM
/dev/block/zram0 u:object_r:swap_block_device:s0
### ROOT
/dqmdbg(/.*)? u:object_r:dqmdbg_file:s0
/omr(/.*)? u:object_r:omr_file:s0
/optics(/.*)? u:object_r:optics_file:s0
/prism(/.*)? u:object_r:prism_file:s0
## Sysfs
# Block
/sys/devices/platform/13520000.ufs/host0/target0:0:0/0:0:0:[0-4]/block/sd[a-e]/queue/scheduler u:object_r:sysfs_io_sched_tuneable:s0
/sys/devices/platform/13550000.dwmmc2/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/queue/scheduler u:object_r:sysfs_io_sched_tuneable:s0
# Camera
/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
# Net
/sys/devices/platform/119c0000.scsc_wifibt/net(/.*)/mtu u:object_r:sysfs_net_mtu_writable:s0
/sys/devices/virtual/net(/.*)/mtu u:object_r:sysfs_net_mtu_writable:s0
# Sensors
/sys/devices/platform/11980000.contexthub(/.*) u:object_r:sysfs_iio:s0
/sys/devices/platform/11c30000.adc(/.*) u:object_r:sysfs_iio:s0
/sys/devices/platform/11980000.contexthub(/.*)/buffer/enable u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/11980000.contexthub(/.*)/buffer/length u:object_r:sysfs_sensors_writable:s0
# GPS
/sys/devices/soc0/machine u:object_r:sysfs_sec_gps:s0
/sys/devices/soc0/revision u:object_r:sysfs_sec_gps:s0
## Vendor
/(vendor|system/vendor)/bin/wlbtd u:object_r:wlbtd_exec:s0
/(vendor|system/vendor)/bin/vendor\.samsung\.hardware\.security\.widevine\.keyprovisioning@[0-9]\.[0-9]-service u:object_r:hal_drm_widevine_exec:s0
/(vendor|system/vendor)/bin/hw/gps.sh u:object_r:gpsd_exec:s0
/(vendor|system/vendor)/bin/hw/gpsd u:object_r:gpsd_exec:s0
/(vendor|system/vendor)/bin/hw/macloader u:object_r:macloader_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\.keymaster@[0-9]\.[0-9]-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator@[0-9]\.[0-9]-service\.samsung u:object_r:hal_vibrator_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)/lib(64)?/hw/gralloc\.exynos[0-9]*\.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