net: Allow userns root to force the scm creds
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 16 Nov 2012 03:03:03 +0000 (03:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Nov 2012 01:32:45 +0000 (20:32 -0500)
commit00f70de09c418bfb028d03f046e39c1d301db7b2
tree64d7445491c57decffaf71df79e0671c8b7324b0
parent86937c05cb44654649a089744cd49ab0dc6873a8
net: Allow userns root to force the scm creds

If the user calling sendmsg has the appropriate privieleges
in their user namespace allow them to set the uid, gid, and
pid in the SCM_CREDENTIALS control message to any valid value.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/scm.c