]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Consistent capabilites associated with MPOL_MOVE_ALL
authorChristoph Lameter <clameter@sgi.com>
Wed, 15 Mar 2006 03:50:21 +0000 (19:50 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 15 Mar 2006 05:43:02 +0000 (21:43 -0800)
commit3d1aa50c24b64a5f34c897d0af3fca0289a00e57
treed83774ce92907ecaf450998ddaf865836fde00ea
parent7f17a5b2f9410b96b0accb6238e425cb9fc267ff
[PATCH] Consistent capabilites associated with MPOL_MOVE_ALL

It seems that setting scheduling policy and priorities is also the kind of
thing that might be performed in apps that also use the NUMA API, so it
would seem consistent to use CAP_SYS_NICE for NUMA also.

So use CAP_SYS_NICE for controlling migration permissions.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c