[lkml]   [2011]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] [58/139] net: Export cred_to_ucred to modules.
2.6.35-longterm review patch.  If anyone has any objections, please let me know.

Upstream commit 3924773a5a82622167524bdd48799dc0452c57f8

AF_UNIX references this, and can be built as a module,

Signed-off-by: David S. Miller <>
Signed-off-by: Andi Kleen <>

Index: linux-2.6.35.y/net/core/sock.c
--- linux-2.6.35.y.orig/net/core/sock.c
+++ linux-2.6.35.y/net/core/sock.c
@@ -762,6 +762,7 @@ void cred_to_ucred(struct pid *pid, cons
ucred->gid = user_ns_map_gid(current_ns, cred, cred->egid);

int sock_getsockopt(struct socket *sock, int level, int optname,
char __user *optval, int __user *optlen)

 \ /
  Last update: 2011-02-02 02:05    [W:0.293 / U:12.440 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site