| #################################### |
| # Devices |
| /dev/mali[0-9]* u:object_r:gpu_device:s0 |
| /dev/umts_ipc0 u:object_r:radio_device:s0 |
| /dev/fimg2d u:object_r:video_device:s0 |
| /dev/sec-nfc u:object_r:nfc_device:s0 |
| /dev/goodix_fp u:object_r:goodix_device:s0 |
| /dev/gnss_ipc u:object_r:gps_device:s0 |
| /dev/scsc_h4_0 u:object_r:bt_device:s0 |
| /dev/cpuset(/.*)? u:object_r:cgroup:s0 |
| /dev/s5p-smem u:object_r:drm_device:s0 |
| |
| # camera |
| /dev/m2m1shot_scaler0 u:object_r:m2m1shot_device:s0 |
| |
| # usb |
| /dev/android_ssusbcon(/.*)? u:object_r:usb_device:s0 |
| /dev/mtp_usb* u:object_r:mtp_device:s0 |
| /dev/usb(/.*)? u:object_r:usb_device:s0 |
| |
| # adbroot and storaged |
| /dev/stune(/.*)? u:object_r:cgroup:s0 |
| |
| # blocks |
| /dev/block/zram0 u:object_r:swap_block_device:s0 |
| |
| /dev/block/platform/.+/by-name/(omr|OMR)? u:object_r:omr_block_device:s0 |
| /dev/block/platform/.+/by-name/(misc|MISC)? u:object_r:misc_block_device:s0 |
| /dev/block/platform/.+/by-name/(cpefs|CPEFS)? u:object_r:efs_block_device:s0 |
| /dev/block/platform/.+/by-name/(efs|EFS)? u:object_r:efs_block_device:s0 |
| /dev/block/platform/.+/by-name/(radio|RADIO)? u:object_r:radio_block_device:s0 |
| /dev/block/platform/.+/by-name/(cache|CACHE)? u:object_r:cache_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/(keyrefuge|KEYREFUGE)? u:object_r:keyrefuge_block_device:s0 |
| /dev/block/platform/.+/by-name/(persistent|PERSISTENT)? u:object_r:frp_block_device:s0 |
| /dev/block/platform/.+/by-name/(boot|BOOT)? u:object_r:boot_block_device:s0 |
| /dev/block/platform/.+/by-name/(recovery|RECOVERY)? u:object_r:recovery_block_device:s0 |
| |
| #################################### |
| # efs |
| /mnt/vendor/cpefs(/.*)? u:object_r:efs_file:s0 |
| |
| #################################### |
| # data files |
| /data/vendor/nfc(/.*)? u:object_r:nfc_vendor_data_file:s0 |
| |
| # drm |
| /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_data_file:s0 |
| |
| # camera |
| /data/camera(/.*)? u:object_r:camera_data_file:s0 |
| |
| #################################### |
| |
| ### VENDOR |
| /(vendor|system/vendor)/lib(64)?/hw/gralloc\.[a-z0-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)/bin/main_abox u:object_r:abox_exec:s0 |
| /(vendor|system/vendor)/bin/wlbtd u:object_r:wlbtd_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/mcDriverDaemon u:object_r:tee_exec:s0 |
| |
| /(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@[0-9]\.[0-9]-service_64\.universal7904 u:object_r:hal_camera_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\.keymaster@[0-9]\.[0-9]-service\.samsung u:object_r:hal_keymaster_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/vendor\.samsung\.hardware\.gnss@[0-9]\.[0-9]-service u:object_r:hal_gnss_default_exec:s0 |