Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9030
b: refs/heads/master
c: 2030c0f
h: refs/heads/master
v: v3
  • Loading branch information
Michael Kerrisk authored and Linus Torvalds committed Sep 17, 2005
1 parent 3b39be5 commit b219161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: afeda2c24e74cbddde376e06fdd82c215f9cb637
refs/heads/master: 2030c0fd3db3332378f95f479c286181e3920644
3 changes: 1 addition & 2 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1728,8 +1728,7 @@ asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3,
error = put_user(current->pdeath_signal, (int __user *)arg2);
break;
case PR_GET_DUMPABLE:
if (current->mm->dumpable)
error = 1;
error = current->mm->dumpable;
break;
case PR_SET_DUMPABLE:
if (arg2 < 0 || arg2 > 2) {
Expand Down

0 comments on commit b219161

Please sign in to comment.