aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-11-19 06:38:31 -0800
committerUlrich Drepper <drepper@redhat.com>2009-11-19 06:38:31 -0800
commitc6e7f16c536a0a588e842c5eb52626b00bbe9133 (patch)
treecc503396b0498135c8f0689b2fa08aac74fe1dde /sysdeps/unix/sysv/linux/sh
parentdfedb126d66fa4e9962e80d89233e00b521bf8bb (diff)
downloadglibc-c6e7f16c536a0a588e842c5eb52626b00bbe9133.tar
glibc-c6e7f16c536a0a588e842c5eb52626b00bbe9133.tar.gz
glibc-c6e7f16c536a0a588e842c5eb52626b00bbe9133.tar.bz2
glibc-c6e7f16c536a0a588e842c5eb52626b00bbe9133.zip
Follow kernel F_OWNER_{GID -> PGRP} change.
But maintain compatiblity for 2.11.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/fcntl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
index ad2d51b4cb..f57a461b67 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
@@ -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. */