diff options
author | Kees Cook <keescook@chromium.org> | 2012-04-16 11:56:45 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-04-19 13:39:56 +1000 |
commit | 389da25f93eea8ff64181ae7e3e87da68acaef2e (patch) | |
tree | 09277860746b3372cbb49ea82868709cbae99ec3 /mm/mprotect.c | |
parent | 8156b451f37898d3c3652b4e988a4d62ae16eaac (diff) | |
download | linux-389da25f93eea8ff64181ae7e3e87da68acaef2e.tar.gz linux-389da25f93eea8ff64181ae7e3e87da68acaef2e.tar.bz2 linux-389da25f93eea8ff64181ae7e3e87da68acaef2e.zip |
Yama: add additional ptrace scopes
This expands the available Yama ptrace restrictions to include two more
modes. Mode 2 requires CAP_SYS_PTRACE for PTRACE_ATTACH, and mode 3
completely disables PTRACE_ATTACH (and locks the sysctl).
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions