summaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix/sysv/linux/arm
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-10-30 17:58:03 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-10-30 17:58:03 +0000
commitbcc37abc0abd384886ad532b3e13c3c9579da0c1 (patch)
treee67f114b1e2098264a6737bdb79cfaa248b4e0b2 /ports/sysdeps/unix/sysv/linux/arm
parent7bda88f34e2e6e190fe3d0ab32750f8a2cb89a2d (diff)
downloadeglibc2-bcc37abc0abd384886ad532b3e13c3c9579da0c1.tar.gz
Merge changes between r9152 and r9169 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@9170 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/arm')
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
index 80ecee712..e5e70aab4 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
@@ -168,6 +168,23 @@ struct flock64
};
#endif
+#ifdef __USE_GNU
+/* Owner types. */
+enum __pid_type
+ {
+ F_OWNER_TID = 0, /* Kernel thread. */
+ F_OWNER_PID, /* Process. */
+ F_OWNER_GID /* Process group. */
+ };
+
+/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
+struct f_owner_ex
+ {
+ enum __pid_type type; /* Owner type of ID. */
+ __pid_t pid; /* ID of owner. */
+ };
+#endif
+
/* Define some more compatibility macros to be backward compatible with
BSD systems which did not managed to hide these kernel macros. */
#ifdef __USE_BSD