net: Export cred_to_ucred to modules.
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 23:18:25 +0000 (16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 23:18:25 +0000 (16:18 -0700)
AF_UNIX references this, and can be built as a module,
so...

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c

index 0229d5566a46f947a817298edfb81483d6992498..fef2434b7c8c9946cbd52791650682a2ba898b68 100644 (file)
@@ -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)