diff options
Diffstat (limited to 'kernel')
| -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) |
