From: David S. Miller Date: Wed, 16 Jun 2010 23:18:25 +0000 (-0700) Subject: net: Export cred_to_ucred to modules. X-Git-Tag: MMI-PSA29.97-13-9~23092^2~548 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3924773a5a82622167524bdd48799dc0452c57f8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git net: Export cred_to_ucred to modules. AF_UNIX references this, and can be built as a module, so... Signed-off-by: David S. Miller --- diff --git a/net/core/sock.c b/net/core/sock.c index 0229d5566a46..fef2434b7c8c 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -762,6 +762,7 @@ void cred_to_ucred(struct pid *pid, const struct cred *cred, ucred->gid = user_ns_map_gid(current_ns, cred, cred->egid); } } +EXPORT_SYMBOL_GPL(cred_to_ucred); int sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen)