From a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 13 Apr 2017 21:28:18 +0200 Subject: Assume that O_NOFOLLOW is always defined --- sysdeps/posix/shm_open.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysdeps/posix/shm_open.c') diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c index aac0da41c2..56a9965263 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 -- cgit 1.4.1