diff options
Diffstat (limited to 'kernel/seccomp.c')
-rw-r--r-- | kernel/seccomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/seccomp.c b/kernel/seccomp.c index 645e42d6fa4d..383bd6caca81 100644 --- a/kernel/seccomp.c +++ b/kernel/seccomp.c | |||
@@ -594,7 +594,7 @@ void secure_computing_strict(int this_syscall) | |||
594 | unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) | 594 | unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) |
595 | return; | 595 | return; |
596 | 596 | ||
597 | if (mode == 0) | 597 | if (mode == SECCOMP_MODE_DISABLED) |
598 | return; | 598 | return; |
599 | else if (mode == SECCOMP_MODE_STRICT) | 599 | else if (mode == SECCOMP_MODE_STRICT) |
600 | __secure_computing_strict(this_syscall); | 600 | __secure_computing_strict(this_syscall); |