From 54384fe0b8cbdb0f1dee227493db94dd22c5551f Mon Sep 17 00:00:00 2001 From: Mark su Date: Fri, 5 May 2023 04:55:09 +0000 Subject: [PATCH] Allow access to video12 from applications. Test: 05-05 05:07:06.652 4616 4616 W FinishThread: type=1400 audit(0.0:24): avc: denied { read write } for name="video12" dev="tmpfs" ino=646 scontext=u:r:debug_camera_app:s0:c32,c257,c512,c768 tcontext=u:object_r:video_device:s0 tclass=chr_file permissive=0 app=com.google.android.GoogleCameraEng Bug: 267820687 Change-Id: I3a9a8f1107b5c2accae3ed6906e47c69da63bccd --- conf/ueventd.zuma.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/ueventd.zuma.rc b/conf/ueventd.zuma.rc index c3a57cba..c4bf6884 100644 --- a/conf/ueventd.zuma.rc +++ b/conf/ueventd.zuma.rc @@ -76,7 +76,7 @@ # jpeg /dev/m2m1shot_jpeg 0660 media media -/dev/video12 0660 system system +/dev/video12 0666 system system # audio /dev/seiren 0660 system audio