This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix i386 setxid


Hi!

I'm sorry, tested patch from yesterday on x86_64 only.
Clearly linux/posix_types.h is needed in some i386 set*id.c sources
for __kernel_[ug]id_t.

2004-11-12  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h.
	* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.

--- libc/sysdeps/unix/sysv/linux/i386/setgid.c	12 Nov 2004 16:56:15 -0000	1.7.2.1
+++ libc/sysdeps/unix/sysv/linux/i386/setgid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 
--- libc/sysdeps/unix/sysv/linux/i386/setregid.c	12 Nov 2004 16:56:15 -0000	1.11.2.1
+++ libc/sysdeps/unix/sysv/linux/i386/setregid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 
--- libc/sysdeps/unix/sysv/linux/i386/setresgid.c	12 Nov 2004 16:56:15 -0000	1.11.2.2
+++ libc/sysdeps/unix/sysv/linux/i386/setresgid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 
--- libc/sysdeps/unix/sysv/linux/i386/setresuid.c	12 Nov 2004 16:56:15 -0000	1.12.2.2
+++ libc/sysdeps/unix/sysv/linux/i386/setresuid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 
--- libc/sysdeps/unix/sysv/linux/i386/setreuid.c	12 Nov 2004 16:56:15 -0000	1.11.2.1
+++ libc/sysdeps/unix/sysv/linux/i386/setreuid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 
--- libc/sysdeps/unix/sysv/linux/i386/setuid.c	12 Nov 2004 16:56:15 -0000	1.7.2.2
+++ libc/sysdeps/unix/sysv/linux/i386/setuid.c	12 Nov 2004 18:41:52 -0000
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <setxid.h>
+#include <linux/posix_types.h>
 #include "kernel-features.h"
 
 


	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]