[PATCH] sys_mbind sanity checking
commit636f13c174dd7c84a437d3c3e8fa66f03f7fda63
authorChris Wright <chrisw@sous-sol.org>
Fri, 17 Feb 2006 21:59:36 +0000 (17 13:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Feb 2006 22:09:22 +0000 (17 14:09 -0800)
tree2dd28d7729a52655eb4e155af620c5afdda85a8a
parent74910e6c7dc7471b286a883c1a7af70483ffd2ba
[PATCH] sys_mbind sanity checking

Make sure maxnodes is safe size before calculating nlongs in
get_nodes().

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c