device_google_gs-common/aoc/sepolicy
Alex Iacobucci 9035c70f06 aoc: add permissions for new sysfs node
Resolving the following audit denials:

- [    6.450477] type=1400 audit(1699468821.992:6): avc:  denied
{ read } for comm="aocd" name="notify_timeout_aoc_status"
dev="sysfs" ino=78572 scontext=u:r:aocd:s0
tcontext=u:object_r:sysfs_aoc:s0 tclass=file permissive=0

- type=1107 audit(0.0:9): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied  { set } for
property=persist.vendor.aoc.status_request_timed_out
pid=1035 uid=0 gid=0 scontext=u:r:aocd:s0
tcontext=u:object_r:vendor_default_prop:s0
tclass=property_service permissive=0'
(and get for the same node)

Test: on device
Bug: 309950738
Change-Id: I476624a6d95667d47ada765d6fe392eecc615256
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
2023-11-17 16:17:29 +00:00
..
aocd.te aoc: add permissions for new sysfs node 2023-11-17 16:17:29 +00:00
aocdump.te move aoc settings to gs-common 2022-10-20 11:23:26 +08:00
device.te audio: add audio hal aidl service 2023-03-09 13:47:57 +08:00
dump_aoc.te gs-common:aoc: correct aoc information in the bugreport 2023-04-26 10:51:44 +00:00
file.te aoc: add permissions for new sysfs node 2023-11-17 16:17:29 +00:00
file_contexts Allow chre_daemon to use chre dedicated channel. 2023-06-29 11:47:03 +00:00
property.te aoc: add permissions for new sysfs node 2023-11-17 16:17:29 +00:00
property_contexts aoc: add permissions for new sysfs node 2023-11-17 16:17:29 +00:00