From 8759212b431261a79b35d7f277295703209109a2 Mon Sep 17 00:00:00 2001 From: Stricted Date: Tue, 1 May 2018 01:57:40 +0200 Subject: [PATCH] sepolicy: label some camera files Change-Id: Ifcd19bab3b78c702b58335fbc69ee567733fdb71 --- sepolicy/file_contexts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 34cb641..c46a31d 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -57,8 +57,11 @@ /dev/wmtWifi(/.*)? u:object_r:wmtWifi_device:s0 /dev/camera-isp u:object_r:camera_device:s0 /dev/camera-fdvt u:object_r:camera_device:s0 +/dev/camera-pipemgr u:object_r:camera_device:s0 +/dev/camera-sysram u:object_r:camera_device:s0 /dev/kd_camera_hw u:object_r:camera_device:s0 /dev/kd_camera_flashlight u:object_r:camera_device:s0 +/dev//dev/dummy_cam_cal u:object_r:camera_device:s0 /dev/MAINAF u:object_r:camera_device:s0 /dev/mtk_jpeg(/.*) u:object_r:camera_device:s0 /dev/DW9714AF(/.*)? u:object_r:camera_device:s0 @@ -120,6 +123,17 @@ /dev/block/mmcblk1 u:object_r:mmc_device:s0 /dev/block/zram0 u:object_r:swap_block_device:s0 +# Block devices ttab +/dev/usrdata u:object_r:userdata_block_device:s0 +/dev/recovery u:object_r:recovery_block_device:s0 +/dev/pro_info u:object_r:proinfo_device:s0 +/dev/protect_f u:object_r:protect1_device:s0 +/dev/protect_s u:object_r:protect2_device:s0 +/dev/cache u:object_r:cache_block_device:s0 +/dev/block/mmcblk[0-9a-z]* u:object_r:mmc_device:s0 +/dev/bootimg u:object_r:boot_block_device:s0 +/dev/nvram u:object_r:nvram_device:s0 + # Sysfs nodes /sys/devices/virtual/gpsdrv(/.*)? u:object_r:sysfs_gps_file:s0 /sys/kernel/ccci(/.*)? u:object_r:sysfs_ccci:s0 -- 2.20.1