mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* security.cc (allow_ntsec): Default to zero.
* environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS allows it.
This commit is contained in:
parent
0fa64fa3a7
commit
f789fbbf35
@ -1,3 +1,9 @@
|
||||
2002-09-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* security.cc (allow_ntsec): Default to zero.
|
||||
* environ.cc (environ_init): Set allow_ntsec to TRUE by default,
|
||||
assuming OS allows it.
|
||||
|
||||
2002-09-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* environ.cc (environ_init): Avoid a compiler warning.
|
||||
|
@ -675,11 +675,9 @@ environ_init (char **envp, int envc)
|
||||
if (myself->progname[0])
|
||||
got_something_from_registry = regopt (myself->progname) || got_something_from_registry;
|
||||
|
||||
#ifdef NTSEC_ON_BY_DEFAULT
|
||||
/* Set ntsec explicit as default, if NT is running */
|
||||
if (wincap.has_security ())
|
||||
allow_ntsec = TRUE;
|
||||
#endif
|
||||
|
||||
if (!envp)
|
||||
envp_passed_in = 0;
|
||||
|
@ -41,7 +41,7 @@ details. */
|
||||
#include "lm.h"
|
||||
|
||||
extern BOOL allow_ntea;
|
||||
BOOL allow_ntsec = true;
|
||||
BOOL allow_ntsec;
|
||||
/* allow_smbntsec is handled exclusively in path.cc (path_conv::check).
|
||||
It's defined here because of it's strong relationship to allow_ntsec.
|
||||
The default is TRUE to reflect the old behaviour. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user