diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-15 20:16:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-15 20:16:22 -0400 |
commit | 0c4d0670f6e54f8507c30c01928cc9ff630ca497 (patch) | |
tree | 66a417d87d670f4068ac17c5ee19d21ddf7e95e1 /kernel/sys.c | |
parent | 7c32442ff846b7ea8804785e90b81c1118115a5c (diff) | |
parent | cf2b94daab9f3d21b0a393bef91292622f6a8ca4 (diff) |
Merge branch 'akpm' (Andrew's patch-bomb)
Merge patches from Andrew Morton:
"Nine patches - some bug fixes and some MAINTAINERS fiddling."
* emailed from Andrew Morton <akpm@linux-foundation.org>:
drivers/video/backlight/s6e63m0.c: fix corruption storing gamma mode
MAINTAINERS: add entry for exynos mipi display drivers
MAINTAINERS: fix link to Gustavo Padovans tree
MAINTAINERS: add Johan to Bluetooth maintainers
MAINTAINERS: Gustavo has moved
prctl: use CAP_SYS_RESOURCE for PR_SET_MM option
rapidio/tsi721: fix bug in register offset definitions
MAINTAINERS: update ST's Mailing list for SPEAr
memcg: free mem_cgroup by RCU to fix oops
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 40701538fbd1..888d227fd195 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -1706,7 +1706,7 @@ static int prctl_set_mm(int opt, unsigned long addr, | |||
1706 | if (arg4 | arg5) | 1706 | if (arg4 | arg5) |
1707 | return -EINVAL; | 1707 | return -EINVAL; |
1708 | 1708 | ||
1709 | if (!capable(CAP_SYS_ADMIN)) | 1709 | if (!capable(CAP_SYS_RESOURCE)) |
1710 | return -EPERM; | 1710 | return -EPERM; |
1711 | 1711 | ||
1712 | if (addr >= TASK_SIZE) | 1712 | if (addr >= TASK_SIZE) |