From d9309ef34d26a28afd10322b3823f7f866f2aa1e Mon Sep 17 00:00:00 2001 From: sukiliu Date: Tue, 20 Jul 2021 09:41:27 +0800 Subject: [PATCH] Update avc error on ROM 7562467 avc: denied { read } for name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=229 scontext=u:r:postinstall_dexopt:s0 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 avc: denied { read } for comm="otapreopt" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=229 scontext=u:r:postinstall_dexopt:s0 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 Bug: 194142604 Bug: 194065991 Test: PtsSELinuxTestCases Change-Id: Ic3bb544f05ffff0df42f820d2f9cf6cd7cb24879 --- private/postinstall_dexopt.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 private/postinstall_dexopt.te diff --git a/private/postinstall_dexopt.te b/private/postinstall_dexopt.te new file mode 100644 index 00000000..2b51e8b7 --- /dev/null +++ b/private/postinstall_dexopt.te @@ -0,0 +1,2 @@ +# b/194142604 +dontaudit postinstall_dexopt odsign_prop:file read;