aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-10-03 17:39:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-10-03 17:39:53 +0000
commitafd09ae82a5f6cc0a358acfe72e8463b37003131 (patch)
tree426e7e6784acaebc36abce09bbb1588bf598ba63
parent4ba089f88e062e6980ffeb09316bb0de7f40dbf5 (diff)
downloadglibc-afd09ae82a5f6cc0a358acfe72e8463b37003131.tar.xz
glibc-afd09ae82a5f6cc0a358acfe72e8463b37003131.zip
Define F_SETOWN_EX and F_GETOWN_EX for MIPS.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX and F_GETOWN_EX.
-rw-r--r--ChangeLog.mips5
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/fcntl.h10
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index f8a651d3a7..370c9c76c8 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2009-10-03 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
+ and F_GETOWN_EX.
+
2009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
index ef84e96d36..e2c714b1e8 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
@@ -1,6 +1,6 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995, 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2006, 2007
- Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2006,
+ 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -87,13 +87,15 @@
#define F_SETLKW64 35 /* Set record locking info (blocking). */
#if defined __USE_BSD || defined __USE_UNIX98
-# define F_SETOWN 24 /* Get owner of socket (receiver of SIGIO). */
-# define F_GETOWN 23 /* Set owner of socket (receiver of SIGIO). */
+# define F_SETOWN 24 /* Get owner (process receiving SIGIO). */
+# define F_GETOWN 23 /* Set owner (process receiving SIGIO). */
#endif
#ifdef __USE_GNU
# define F_SETSIG 10 /* Set number of signal to be sent. */
# define F_GETSIG 11 /* Get number of signal to be sent. */
+# define F_SETOWN_EX 12 /* Get owner (thread receiving SIGIO). */
+# define F_GETOWN_EX 13 /* Set owner (thread receiving SIGIO). */
#endif
#ifdef __USE_GNU