Skip to content

Commit

Permalink
net: Export cred_to_ucred to modules.
Browse files Browse the repository at this point in the history
AF_UNIX references this, and can be built as a module,
so...

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 16, 2010
1 parent 6616f78 commit 3924773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3924773

Please sign in to comment.