git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[XFRM]: Add generation count to xfrm_state and xfrm_dst.
[pandora-kernel.git]
/
kernel
/
sys.c
diff --git
a/kernel/sys.c
b/kernel/sys.c
index
dbb3b9c
..
e236f98
100644
(file)
--- a/
kernel/sys.c
+++ b/
kernel/sys.c
@@
-1983,7
+1983,7
@@
asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3,
error = current->mm->dumpable;
break;
case PR_SET_DUMPABLE:
- if (arg2 < 0 || arg2 >
2
) {
+ if (arg2 < 0 || arg2 >
1
) {
error = -EINVAL;
break;
}