aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-13 21:28:18 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-13 21:28:18 +0200
commita12ae89f860229cbe5ba91f1f9cf17cc5a9ede31 (patch)
tree3b22b435b0081a1f52f68db25d66b253d0b71337 /sysdeps
parent44500cbb25bc6e76723304b9ff39f875c04309f9 (diff)
downloadglibc-a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31.zip
glibc-a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31.tar.gz
glibc-a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31.tar.bz2
Assume that O_NOFOLLOW is always defined
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/shm_open.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c
index aac0da4..56a9965 100644
--- a/sysdeps/posix/shm_open.c
+++ b/sysdeps/posix/shm_open.c
@@ -34,9 +34,7 @@ shm_open (const char *name, int oflag, mode_t mode)
{
SHM_GET_NAME (EINVAL, -1, "");
-# ifdef O_NOFOLLOW
oflag |= O_NOFOLLOW;
-# endif
# ifdef O_CLOEXEC
oflag |= O_CLOEXEC;
# endif