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>
This commit is contained in:
parent
bbe55d54c6
commit
43c5c8d58a
2
sepolicy/vendor/hal_camera_default.te
vendored
Normal file
2
sepolicy/vendor/hal_camera_default.te
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Allow camera to read over /dev/adsprpc-smd-secure
|
||||
allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;
|
Loading…
Reference in New Issue
Block a user