From 6381056b230c8be5edbab1caa5db241a8f4fc0a0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 16 Apr 2005 13:11:40 +0000 Subject: [PATCH] * environ.cc (environ_init): Don't set traverse checking as default. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/environ.cc | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ed3d99d79..df933c2ab 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-04-16 Corinna Vinschen + + * environ.cc (environ_init): Don't set traverse checking as default. + 2005-04-16 Corinna Vinschen * fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touching diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 714bf3c3f..18fa433f1 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -731,12 +731,9 @@ environ_init (char **envp, int envc) if (myself->progname[0]) got_something_from_registry = regopt (myself->progname) || got_something_from_registry; - /* Set ntsec and traverse checking explicit as default, if NT is running */ + /* Set ntsec explicit as default, if NT is running */ if (wincap.has_security ()) - { - allow_ntsec = true; - allow_traverse = true; - } + allow_ntsec = true; if (!envp) envp_passed_in = 0;