From bbf38a30d727db2eb698b9997b66cc31aeb477fb Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Fri, 1 Aug 2008 15:31:39 +0000 Subject: [PATCH] This hunk got lost somewhere along the way :( --- linux-2.6-524-peercred.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/linux-2.6-524-peercred.patch b/linux-2.6-524-peercred.patch index 3cc87e8df..72b13467e 100644 --- a/linux-2.6-524-peercred.patch +++ b/linux-2.6-524-peercred.patch @@ -12,3 +12,13 @@ diff -Nurb linux-2.6.22-510/include/linux/socket.h linux-2.6.22-520/include/linu +--- linux-i686-2.6.22/net/core/sock.c.orig 2008-07-28 16:36:26.000000000 -0400 ++++ linux-i686-2.6.22/net/core/sock.c 2008-08-01 11:32:44.000000000 -0400 +@@ -455,6 +455,7 @@ + } + sk->sk_xid = val; + sk->sk_nid = val; ++ sk->sk_peercred.uid = sk->sk_peercred.gid = val; + break; + + case SO_RCVBUF: -- 2.43.0