diff options
| author | pppig236 <priv@pppig236.com> | 2024-10-14 19:47:52 -0400 |
|---|---|---|
| committer | Julian Veit <Claymore1298@gmail.com> | 2024-11-08 11:56:14 +0100 |
| commit | a07df7770b5abcec503f851d6f95594904da885d (patch) | |
| tree | c6f13bbe876425212f7792d337f350bf35acde5d | |
| parent | 0ba299108d6ecd571931f8966296aa2d7a466c55 (diff) | |
sepolicy: qti: Label more AGM props to silence denials
10-14 19:32:34.592 1190 1190 D AGM: graph: get_sub_param_id: 337 get_sub_param_id: ro.vendor.oplus.regionmark=, ret=0
10-14 19:32:34.592 1190 1190 D AGM: graph: get_sub_param_id: 346 get_sub_param_id: ro.vendor.oplus.audiodriver.operator=, ret=0
10-14 19:32:34.588 1190 1190 I auditd : type=1400 audit(0.0:10): avc: denied { read } for comm="vendor.qti.hard" name="u:object_r:system_prop:s0" dev="tmpfs" ino=352 scontext=u:r:vendor_agmservice_qti:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0
10-14 19:32:34.588 1190 1190 W vendor.qti.hard: type=1400 audit(0.0:10): avc: denied { read } for name="u:object_r:system_prop:s0" dev="tmpfs" ino=352 scontext=u:r:vendor_agmservice_qti:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0
10-14 19:32:34.592 1190 1190 W libc : Access denied finding property "sys.oplus_ftm_mode"
10-14 19:32:34.592 1190 1190 D AGM: graph: get_sub_param_id: 357 get_sub_param_id: sys.oplus_ftm_mode=,
Change-Id: Id8d4c5b62f8de5ca4b6b02dbca0ebfdbe3a5859b
Signed-off-by: pppig236 <priv@pppig236.com>
| -rw-r--r-- | sepolicy/qti/private/property_contexts | 3 | ||||
| -rw-r--r-- | sepolicy/qti/vendor/property_contexts | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sepolicy/qti/private/property_contexts b/sepolicy/qti/private/property_contexts index 1ac48ac..180efbb 100644 --- a/sepolicy/qti/private/property_contexts +++ b/sepolicy/qti/private/property_contexts @@ -1,3 +1,6 @@ +# Audio +sys.oplus_ftm_mode u:object_r:exported_system_prop:s0 + # Autotest persist.sys.oplus.autotest.monkeyRunning u:object_r:exported_system_prop:s0 diff --git a/sepolicy/qti/vendor/property_contexts b/sepolicy/qti/vendor/property_contexts index bb413bc..bccd752 100644 --- a/sepolicy/qti/vendor/property_contexts +++ b/sepolicy/qti/vendor/property_contexts @@ -1,3 +1,7 @@ +# Audio +ro.vendor.oplus.audiodriver.operator u:object_r:vendor_audio_debug_prop:s0 +ro.vendor.oplus.regionmark u:object_r:vendor_audio_debug_prop:s0 + # Camera ro.vendor.oplus.camera. u:object_r:vendor_camera_prop:s0 vendor.camera.vm.parameters u:object_r:vendor_camera_prop:s0 |
