sepolicy: redbull: allows pixelstat to access audio codec_detect nodes
01-02 09:24:33.413 839 839 I pixelstats-vend: type=1400 audit(0.0:1145): avc: denied { read } for name="codec_state" dev="sysfs" ino=63339 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs_pixelstats:s0 tclass=file permissive=1
01-02 09:24:33.413 839 839 I pixelstats-vend: type=1400 audit(0.0:1146): avc: denied { open } for path="/sys/devices/platform/codec_detect/codec_state" dev="sysfs" ino=63339 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs_pixelstats:s0 tclass=file permissive=1
01-02 09:24:33.413 839 839 I pixelstats-vend: type=1400 audit(0.0:1147): avc: denied { getattr } for path="/sys/devices/platform/codec_detect/codec_state" dev="sysfs" ino=63339 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs_pixelstats:s0 tclass=file permissive=1
Bug: 144901001
Test: Manual, build and confirm pixelstats can read from the stat nodes
Change-Id: Iffad226b0b90465afc3885d219ecf10311fd3081
Signed-off-by: rogerfang <rogerfang@google.com>
2 files changed