Commit 3924773a authored by David S. Miller's avatar David S. Miller

net: Export cred_to_ucred to modules.

AF_UNIX references this, and can be built as a module,
so...
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6616f788
...@@ -762,6 +762,7 @@ void cred_to_ucred(struct pid *pid, const struct cred *cred, ...@@ -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); 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, int sock_getsockopt(struct socket *sock, int level, int optname,
char __user *optval, int __user *optlen) char __user *optval, int __user *optlen)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment