(fchdir): Don't open with O_EXEC.
authorroland <roland>
Tue, 23 Aug 1994 00:04:54 +0000 (00:04 +0000)
committerroland <roland>
Tue, 23 Aug 1994 00:04:54 +0000 (00:04 +0000)
sysdeps/mach/hurd/fchdir.c

index da539ee..5ea9f3e 100644 (file)
@@ -34,7 +34,7 @@ DEFUN(fchdir, (fd), int fd)
                   ({ file_t crdir = port;
                      HURD_DPORT_USE (fd,
                                      __hurd_path_lookup (crdir, port, "",
-                                                         O_EXEC, 0, &cwdir));
+                                                         0, 0, &cwdir));
                    }));
 
   if (err)