]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Follow kernel F_OWNER_{GID -> PGRP} change.
authorUlrich Drepper <drepper@redhat.com>
Thu, 19 Nov 2009 14:38:31 +0000 (06:38 -0800)
committerUlrich Drepper <drepper@redhat.com>
Thu, 19 Nov 2009 14:38:31 +0000 (06:38 -0800)
But maintain compatiblity for 2.11.

ChangeLog
sysdeps/unix/sysv/linux/i386/bits/fcntl.h
sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
sysdeps/unix/sysv/linux/s390/bits/fcntl.h
sysdeps/unix/sysv/linux/sh/bits/fcntl.h
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h

index 03c0cab7a2922ed1b44c31f205444209467ead13..bf57a52b4ffdebdff839ec5c6d27caab7abe6379 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2009-11-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol
+       F_OWNER_PGRP and mark F_OWNER_GID obsolete.  The kernel people made
+       this gratuitous change and we have to keep compatibility.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+
 2009-11-17  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names
index ad2d51b4cb0f852e5f1552a440afe8f873c34b58..f57a461b675aadaf8bc24abcc6f10a2ff26e91b7 100644 (file)
@@ -172,9 +172,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index 38da8a8f1d8fc40458d11bd6f8458e46f5b0dc9c..a98ca3a20834700550eec3d90e97f68c71f8b305 100644 (file)
@@ -165,9 +165,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index 638b687ac9141e7c6fe4d89685b1a6926d0fda66..010483a945437d6ed00074ceb27c74efa1be159e 100644 (file)
@@ -172,9 +172,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index a962439456eb4f5df00dcb86e217a6045d0f8de1..8815eca86815b404a4f404ad848a75691542914b 100644 (file)
@@ -187,9 +187,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index ad2d51b4cb0f852e5f1552a440afe8f873c34b58..f57a461b675aadaf8bc24abcc6f10a2ff26e91b7 100644 (file)
@@ -172,9 +172,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index 519b4f235d8e3ddbdfca92c17d45d620ebfc8146..08c5c999fbf5ab98737414ec0027a4a7debf6d5e 100644 (file)
@@ -191,9 +191,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
index 1f8385816ba43833be9f6dd5576ea9f61e31c592..f5dfd8b0b989c5bc5a27cedb0f3dbcf41639d224 100644 (file)
@@ -186,9 +186,10 @@ struct flock64
 /* Owner types.  */
 enum __pid_type
   {
-    F_OWNER_TID = 0,   /* Kernel thread.  */
-    F_OWNER_PID,       /* Process.  */
-    F_OWNER_GID                /* Process group.  */
+    F_OWNER_TID = 0,           /* Kernel thread.  */
+    F_OWNER_PID,               /* Process.  */
+    F_OWNER_PGRP,              /* Process group.  */
+    F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name.  */
   };
 
 /* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */