| ### 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/cpefs u:object_r:cpefs_block_device:s0 |
| |
| # Bluetooth |
| /dev/scsc_h4_0 u:object_r:bt_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 |
| |
| # 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 |
| |
| # 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 |
| |
| ### 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 |