1 commit 1707cc914729121d784b444ce64cbea791f8c2e8
2 Author: root <root@rhel6.(none)>
3 Date: Thu Apr 29 09:56:51 2010 -0400
5 linux-2.6-524-peercred.patch
7 diff --git a/include/linux/socket.h b/include/linux/socket.h
8 index 3273a0c..251b1b1 100644
9 --- a/include/linux/socket.h
10 +++ b/include/linux/socket.h
11 @@ -292,6 +292,8 @@ struct ucred {
15 +#define SO_SETXID SO_PEERCRED
20 diff --git a/net/core/sock.c b/net/core/sock.c
21 index ac135b9..3d808cc 100644
24 @@ -542,6 +542,7 @@ set_sndbuf:
28 + sk->sk_peercred.uid = sk->sk_peercred.gid = val;