commit | 3924773a5a82622167524bdd48799dc0452c57f8 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Jun 16 16:18:25 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 16 16:18:25 2010 -0700 |
tree | 1eba1c451e150fe15a288670a8689d7bec3f87ac | |
parent | 6616f7888c6088324727363276f6de05a1dca6fc [diff] [blame] |
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 <davem@davemloft.net>
diff --git a/net/core/sock.c b/net/core/sock.c index 0229d55..fef2434 100644 --- a/net/core/sock.c +++ b/net/core/sock.c
@@ -762,6 +762,7 @@ 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)