mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Follow kernel F_OWNER_{GID -> PGRP} change.
But maintain compatiblity for 2.11.
This commit is contained in:
12
ChangeLog
12
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>
|
2009-11-17 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names
|
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names
|
||||||
|
@ -172,9 +172,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -165,9 +165,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -172,9 +172,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -187,9 +187,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -172,9 +172,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -191,9 +191,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
@ -186,9 +186,10 @@ struct flock64
|
|||||||
/* Owner types. */
|
/* Owner types. */
|
||||||
enum __pid_type
|
enum __pid_type
|
||||||
{
|
{
|
||||||
F_OWNER_TID = 0, /* Kernel thread. */
|
F_OWNER_TID = 0, /* Kernel thread. */
|
||||||
F_OWNER_PID, /* Process. */
|
F_OWNER_PID, /* Process. */
|
||||||
F_OWNER_GID /* Process group. */
|
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. */
|
/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
|
||||||
|
Reference in New Issue
Block a user