[PATCH] unshare: Error if passed unsupported flags
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 22 Mar 2006 08:07:40 +0000 (00:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:53:55 +0000 (07:53 -0800)
commit06f9d4f94a075285d25253edbf57f2cda07d4ff3
tree56a3d3c05606811b15ab7b301c25815e9ac5e1e8
parentb40607fc02f8248828d52d88f91b7d68df1933b0
[PATCH] unshare: Error if passed unsupported flags

A bare bones trivial patch to ensure we always get -EINVAL on the
unsupported cases for sys_unshare.  If this goes in before 2.6.16 it allows
us to forward compatible with future applications using sys_unshare.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: JANAK DESAI <janak@us.ibm.com>
Cc: <stable@kerenl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c