diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2017-08-27 18:42:57 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-05-16 13:23:15 +0200 |
| commit | c30a8b5f94898c848ecf01913e876026bed1465c (patch) | |
| tree | 8b56954a5f7dacedfde9a94cf83a746c60d083f1 /security | |
| parent | 81dc72af9d0dfda123ea52adcf2695bfa4bfe029 (diff) | |
disable ptrace_scope by default
Change-Id: Id5cc7e1d2d28331d94bde4cbfcf9c77cc33629a7
Diffstat (limited to 'security')
| -rw-r--r-- | security/yama/yama_lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c index 0038834b5..01ca5ccc5 100644 --- a/security/yama/yama_lsm.c +++ b/security/yama/yama_lsm.c @@ -24,7 +24,7 @@ #define YAMA_SCOPE_CAPABILITY 2 #define YAMA_SCOPE_NO_ATTACH 3 -static int ptrace_scope = YAMA_SCOPE_RELATIONAL; +static int ptrace_scope = YAMA_SCOPE_DISABLED; /* describe a ptrace relationship for potential exception */ struct ptrace_relation { |
