projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
seccomp: swap hard-coded zeros to defined name
[cascardo/linux.git]
/
kernel
/
seccomp.c
diff --git
a/kernel/seccomp.c
b/kernel/seccomp.c
index
645e42d
..
383bd6c
100644
(file)
--- a/
kernel/seccomp.c
+++ b/
kernel/seccomp.c
@@
-594,7
+594,7
@@
void secure_computing_strict(int this_syscall)
unlikely(current->ptrace & PT_SUSPEND_SECCOMP))
return;
- if (mode ==
0
)
+ if (mode ==
SECCOMP_MODE_DISABLED
)
return;
else if (mode == SECCOMP_MODE_STRICT)
__secure_computing_strict(this_syscall);