vendor_xiaomi_sweet-miuicamera/sepolicy/vendor/hal_camera_default.te
Omkar Chandorkar 43c5c8d58a
miuicamera: Allow camera to read /dev/adsprpc-smd-secure
04-23 18:21:56.672   934   934 I HwBinder:934_4: type=1400 audit(0.0:460): avc:  denied  { ioctl } for  path="/dev/adsprpc-smd-secure"
dev="tmpfs" ino=18457 ioctlcmd=0x5201 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=1

Change-Id: Icb1e954d019dcbe931c53f5398b400f5f07ec768
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: basamaryan <basam.aryan@gmail.com>
2024-04-27 20:39:24 +02:00

3 lines
120 B
Plaintext

# Allow camera to read over /dev/adsprpc-smd-secure
allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;