aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-26 22:22:24 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-26 22:22:24 +0000
commit7b91359b2cb44b56478e7a5ef9070737fa266656 (patch)
treea54d1a28e0c6acbb980b3300ad562a5484868ee9 /nptl/sysdeps
parent3f414923cf9937588d900b13ad8404be4dfbca67 (diff)
downloadglibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.gz
glibc-7b91359b2cb44b56478e7a5ef9070737fa266656.tar.bz2
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')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/mq_notify.c2
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