From d6e781307fed44ba96f45e7be0c609adc4dca204 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Fri, 4 Sep 2020 14:34:08 -0600 Subject: [PATCH] msm8974-common: sepolicy: Quiet priv_app opening sysfs_android_usb files * Reading these is disallowed globally, no need to see logspam of open attempts Change-Id: I4c0094097d39456c65720cbdfb949d14439ce5f4 --- sepolicy/common/priv_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/common/priv_app.te b/sepolicy/common/priv_app.te index 7bc944e..86598df 100644 --- a/sepolicy/common/priv_app.te +++ b/sepolicy/common/priv_app.te @@ -2,3 +2,5 @@ get_prop(priv_app, camera_prop) allow priv_app device:dir r_dir_perms; allow priv_app proc_interrupts:file r_file_perms; + +dontaudit priv_app sysfs_android_usb:file open;