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>
This commit is contained in:
David S. Miller 2010-06-16 16:18:25 -07:00
parent 6616f7888c
commit 3924773a5a
1 changed files with 1 additions and 0 deletions

View 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)