OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6616f78
)
net: Export cred_to_ucred to modules.
author
David S. Miller
<davem@davemloft.net>
Wed, 16 Jun 2010 23:18:25 +0000
(16:18 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/sock.c
b/net/core/sock.c
index
0229d55
..
fef2434
100644
(file)
--- a/
net/core/sock.c
+++ b/
net/core/sock.c
@@
-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)