patch-2.1.17 linux/include/linux/socket.h

Next file: linux/include/linux/soundmodem.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -105,12 +105,14 @@
 
 struct ucred
 {
-	pid_t	pid;
-	uid_t	uid;
-	gid_t	gid;
+	/* Should we be using __kernel_*_t here ?? */
+	__kernel_pid_t	pid;
+	__kernel_uid_t	uid;
+	__kernel_gid_t	gid;
 };
 
 /* Socket types. */
+
 #define SOCK_STREAM	1		/* stream (connection) socket	*/
 #define SOCK_DGRAM	2		/* datagram (conn.less) socket	*/
 #define SOCK_RAW	3		/* raw socket			*/

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov