Merge "Add domain level neverallow to restrict access to ptrace"
This commit is contained in:
commit
1b4e9393d3
2 changed files with 4 additions and 0 deletions
|
@ -63,4 +63,5 @@ userdebug_or_eng(`
|
|||
}:process { ptrace signal sigchld sigstop sigkill };
|
||||
')
|
||||
|
||||
neverallow crash_dump self:process ptrace;
|
||||
neverallow crash_dump no_crash_dump_domain:process ptrace;
|
||||
|
|
|
@ -538,3 +538,6 @@ neverallow no_crash_dump_domain crash_dump:process { transition dyntransition };
|
|||
|
||||
# Ensure that no one can execute from encrypted storage, which is a writable partition in VM.
|
||||
neverallow domain encryptedstore_file:file no_x_file_perms;
|
||||
|
||||
# Only crash_dump is allowed to access ptrace
|
||||
neverallow { domain -crash_dump } domain:process ptrace;
|
||||
|
|
Loading…
Reference in a new issue