1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Follow kernel F_OWNER_{GID -> PGRP} change.

But maintain compatiblity for 2.11.
This commit is contained in:
Ulrich Drepper
2009-11-19 06:38:31 -08:00
parent dfedb126d6
commit c6e7f16c53
8 changed files with 40 additions and 21 deletions

View 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. */