commit | 3f551f9436c05a3b5eccdd6e94733df5bb98d2a5 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Sun Jun 13 03:28:59 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 16 14:55:35 2010 -0700 |
tree | ee5a9148797994682a4553e817e96b721303f3ec | |
parent | 5c1469de7545a35a16ff2b902e217044a7d2f8a5 [diff] |
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>