]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit74c002410548c7cb1744b45d17a5fa21da515b63
treed83774ce92907ecaf450998ddaf865836fde00ea
parentb4fb376628e63bfc8071fc915b921da3db4a3385
[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