diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-26 22:22:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-26 22:22:24 +0000 |
commit | 7b91359b2cb44b56478e7a5ef9070737fa266656 (patch) | |
tree | a54d1a28e0c6acbb980b3300ad562a5484868ee9 /nptl/sysdeps/unix/sysv/linux/mq_notify.c | |
parent | 3f414923cf9937588d900b13ad8404be4dfbca67 (diff) | |
download | glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.gz glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.xz glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.zip |
* Makeconfig: Define pie-ccflag and PIE-ccflag variables.
* elf/Makefile: Use pie-ccflag variable. * nscd/Makefile: Likewise. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/mq_notify.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/mq_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c index 1be452a0e0..49ddeae052 100644 --- a/nptl/sysdeps/unix/sysv/linux/mq_notify.c +++ b/nptl/sysdeps/unix/sysv/linux/mq_notify.c @@ -169,7 +169,7 @@ init_mq_netlink (void) if (netlink_socket == -1) { /* Just a normal netlink socket, not bound. */ - if (have_sock_cloexec) + if (have_sock_cloexec >= 0) { netlink_socket = socket (AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, 0); #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC |