Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288498
b: refs/heads/master
c: 79f0713
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Mar 16, 2012
1 parent 252240d commit 6f7c9da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 9bbad7da76b3dd578fb55c862624366a8c9ccd22
refs/heads/master: 79f0713d403c800db9d89134e2fd7f846e68d6ee
2 changes: 1 addition & 1 deletion trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ static int prctl_set_mm(int opt, unsigned long addr,
if (arg4 | arg5)
return -EINVAL;

if (!capable(CAP_SYS_ADMIN))
if (!capable(CAP_SYS_RESOURCE))
return -EPERM;

if (addr >= TASK_SIZE)
Expand Down

0 comments on commit 6f7c9da

Please sign in to comment.