This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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

Re: Remove pre-2.4 Linux kernel support


On Wed, 23 May 2012, Andreas Jaeger wrote:

> I agree with Roland, let's add a comment - and file a bugreport to revisit the
> files that we might implement differently.

I've applied this patch now to add comments to the cases arising from the 
pre-2.2-removal patch (other than poll since you already sent a patch for 
that), and filed bug 14138.

diff --git a/ChangeLog b/ChangeLog
index 5aef24f..87dc911 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
+	move to syscalls.list.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
+
 	* manual/install.texi (Running make install): Do not mention Linux
 	kernel version for which pt_chown is not needed.
 	(Linux): Do not mention problems with nscd with 2.0 kernels.
diff --git a/sysdeps/unix/sysv/linux/powerpc/chown.c b/sysdeps/unix/sysv/linux/powerpc/chown.c
index be6a828..4e3e495 100644
--- a/sysdeps/unix/sysv/linux/powerpc/chown.c
+++ b/sysdeps/unix/sysv/linux/powerpc/chown.c
@@ -25,6 +25,8 @@
 
 #include <kernel-features.h>
 
+/* Consider moving to syscalls.list.  */
+
 /*
   In Linux 2.1.x the chown functions have been changed.  A new function lchown
   was introduced.  The new chown now follows symlinks - the old chown and the
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
index e06de3b..ed4708f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
@@ -27,6 +27,8 @@
 #include <kernel-features.h>
 
 
+/* Consider moving to syscalls.list.  */
+
 ssize_t
 __libc_pread (fd, buf, count, offset)
      int fd;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
index 80c2d2c..63ba30d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
@@ -26,6 +26,8 @@
 #include <kernel-features.h>
 
 
+/* Consider moving to syscalls.list.  */
+
 ssize_t
 __libc_pread64 (fd, buf, count, offset)
      int fd;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
index 57458b4..68f26df 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
@@ -27,6 +27,8 @@
 #include <kernel-features.h>
 
 
+/* Consider moving to syscalls.list.  */
+
 ssize_t
 __libc_pwrite (fd, buf, count, offset)
      int fd;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
index 75344df..71ffa17 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
@@ -26,6 +26,8 @@
 #include <kernel-features.h>
 
 
+/* Consider moving to syscalls.list.  */
+
 ssize_t
 __libc_pwrite64 (fd, buf, count, offset)
      int fd;

-- 
Joseph S. Myers
joseph@codesourcery.com


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