]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf525a7c3d18388c39172c568afdb3c54a56d3989
tree64d7445491c57decffaf71df79e0671c8b7324b0
parent4d748cacd4d528dc940b3461c2d5f0f559338b59
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