blob: 0d1d42f56b2e0e364b1356502fb9414555009bb9 [file] [log] [blame]
### DATA
/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
### DEV
/dev/block/platform/.+/by-name/boot u:object_r:boot_block_device:s0
/dev/block/platform/.+/by-name/recovery u:object_r:recovery_block_device:s0
/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
# 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(/.*)/buffer/enable u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/11980000.contexthub(/.*)/buffer/length u:object_r:sysfs_sensors_writable:s0
/sys/devices/platform/11980000.contexthub(/.*) u:object_r:sysfs_iio:s0
/sys/devices/platform/11c30000.adc(/.*) u:object_r:sysfs_iio:s0
# GPS
/sys/devices/soc0/machine u:object_r:sysfs_sec_gps:s0
### VENDOR
/(vendor|system/vendor)/bin/argosd u:object_r:argosd_exec:s0
/(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/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\.usb@[0-9]\.[0-9]-service\.exynos9611 u:object_r:hal_usb_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\.camera\.provider@[0-9]\.[0-9]-service u:object_r:hal_camera_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/android\.hardware\.graphics\.mapper@2\.0-impl-2\.1\.so u:object_r:same_process_hal_file: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
/(vendor|system/vendor)/lib(64)?/libsensorlistener\.so u:object_r:vendor_shimmed_lib:s0
/(vendor|system/vendor)/lib/vndk/libstagefright_omx_utils\.so u:object_r:vendor_shimmed_lib:s0
/(vendor|system/vendor)/usr/idc(/.*) u:object_r:vendor_idc_file:s0
/(vendor|system/vendor)/usr/keylayout(/.*) u:object_r:vendor_keylayout_file:s0