mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.
This commit is contained in:
parent
f8d7c1eadd
commit
78aa397939
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2009-10-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and
|
||||||
|
F_GETOWN_EX.
|
||||||
|
* 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-09-28 Andreas Schwab <schwab@redhat.com>
|
2009-09-28 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* stdio-common/printf_fp.c: Check for and avoid integer overflows.
|
* stdio-common/printf_fp.c: Check for and avoid integer overflows.
|
||||||
|
@ -85,13 +85,15 @@
|
|||||||
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -81,13 +81,15 @@
|
|||||||
#define F_SETLKW64 7 /* Set record locking info (blocking). */
|
#define F_SETLKW64 7 /* Set record locking info (blocking). */
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -85,13 +85,15 @@
|
|||||||
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving of SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving of SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -100,13 +100,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -85,13 +85,15 @@
|
|||||||
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
#define F_SETLKW64 14 /* Set record locking info (blocking). */
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving of SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving of SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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 of SIGIO). */
|
||||||
|
# define F_GETOWN_EX 13 /* Set owner (thread receiving of SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -83,8 +83,8 @@
|
|||||||
#define F_GETFL 3 /* Get file status flags. */
|
#define F_GETFL 3 /* Get file status flags. */
|
||||||
#define F_SETFL 4 /* Set file status flags. */
|
#define F_SETFL 4 /* Set file status flags. */
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_GETOWN 5 /* Get owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 5 /* Get owner (process receiving SIGIO). */
|
||||||
# define F_SETOWN 6 /* Set owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 6 /* Set owner (process receiving SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
#ifndef __USE_FILE_OFFSET64
|
#ifndef __USE_FILE_OFFSET64
|
||||||
# define F_GETLK 7 /* Get record locking info. */
|
# define F_GETLK 7 /* Get record locking info. */
|
||||||
@ -99,6 +99,8 @@
|
|||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get number of signal to be sent. */
|
# define F_GETSIG 11 /* Get number of signal to be sent. */
|
||||||
|
# define F_GETOWN_EX 12 /* Get owner (thread receiving SIGIO). */
|
||||||
|
# define F_SETOWN_EX 13 /* Set owner (thread receiving SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
@ -99,13 +99,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_UNIX98
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
|
# define F_SETOWN 8 /* Get owner (process receiving of SIGIO). */
|
||||||
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
|
# define F_GETOWN 9 /* Set owner (process receiving of SIGIO). */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
# define F_SETSIG 10 /* Set number of signal to be sent. */
|
||||||
# define F_GETSIG 11 /* Get 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
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
Loading…
Reference in New Issue
Block a user