]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sock: Introduce cred_to_ucred
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 13 Jun 2010 03:28:59 +0000 (03:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 21:55:35 +0000 (14:55 -0700)
commit3f551f9436c05a3b5eccdd6e94733df5bb98d2a5
treeee5a9148797994682a4553e817e96b721303f3ec
parent5c1469de7545a35a16ff2b902e217044a7d2f8a5
sock: Introduce cred_to_ucred

To keep the coming code clear and to allow both the sock
code and the scm code to share the logic introduce a
fuction to translate from struct cred to struct ucred.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/socket.h
net/core/sock.c