Skip to content
Snippets Groups Projects
Commit db8835e0 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by android-build-merger
Browse files

crash_dump: disallow ptrace of TCB components am: f0e6a70a

am: 7f6df930

Change-Id: I6b3b7204317bdad91f44bcf6cfce7d3810693b42
parents a0fac585 7f6df930
No related branches found
No related tags found
No related merge requests found
typeattribute crash_dump coredomain; typeattribute crash_dump coredomain;
allow crash_dump {
domain
-crash_dump
-init
-kernel
-keystore
-logd
-ueventd
-vold
}:process { ptrace signal sigchld sigstop sigkill };
type crash_dump, domain; type crash_dump, domain;
type crash_dump_exec, exec_type, file_type; type crash_dump_exec, exec_type, file_type;
allow crash_dump {
domain
-init
-crash_dump
-keystore
-logd
}:process { ptrace signal sigchld sigstop sigkill };
# crash_dump might inherit CAP_SYS_PTRACE from a privileged process, # 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. # which will result in an audit log even when it's allowed to trace.
dontaudit crash_dump self:capability { sys_ptrace }; dontaudit crash_dump self:capability { sys_ptrace };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment