Skip to content
Snippets Groups Projects
Commit c4bc8992 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

crash_dump: dontaudit CAP_SYS_PTRACE denial. am: 943d7ed5

am: d04a2dd0

Change-Id: I911532b7f4b82379005b3f78165ddc1bd4546b21
parents 9805f2cd d04a2dd0
Branches
Tags
No related merge requests found
......@@ -8,6 +8,11 @@ allow crash_dump {
-keystore
-logd
}:process { ptrace signal sigchld sigstop sigkill };
# crash_dump might inherit CAP_SYS_PTRACE from a privileged process,
# which will result in an audit log even when it's allowed to trace.
dontaudit crash_dump self:capability { sys_ptrace };
userdebug_or_eng(`
allow crash_dump logd:process { ptrace signal sigchld sigstop sigkill };
')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment