Skip to content
Snippets Groups Projects
Commit 2a70c173 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "dumpstate: assert no process ptrace"

am: c1f8e9a0

Change-Id: I8b763f78a29561bddf6d80e3a59e39943a6340d3
parents 68a62bab c1f8e9a0
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,10 @@ add_service(dumpstate, dumpstate_service)
### neverallow rules
###
# dumpstate has capability sys_ptrace, but should only use that capability for
# accessing sensitive /proc/PID files, never for using ptrace attach.
neverallow dumpstate *:process ptrace;
# only system_server, dumpstate and shell can find the dumpstate service
neverallow { domain -system_server -shell -dumpstate } dumpstate_service:service_manager find;
......
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