summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygtls.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-02-23 15:15:50 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-02-23 15:15:50 +0000
commita76877e977ff264e44c4d9278920fe511fc73dd4 (patch)
tree77a3e569e9e5a248cf845f89d7e8eb6ba6193f2f /winsup/cygwin/cygtls.cc
parent9fa43ff6c61626df04f9b87c09f5233ba07a608d (diff)
downloadcygnal-a76877e977ff264e44c4d9278920fe511fc73dd4.tar.gz
cygnal-a76877e977ff264e44c4d9278920fe511fc73dd4.tar.bz2
cygnal-a76877e977ff264e44c4d9278920fe511fc73dd4.zip
Throughout remove all usage of wincap.has_security.
* environ.cc (environ_init): Drop setting allow_ntsec here. * grp.cc (initgroups32): Drop usage of label "out". * security.cc (allow_ntsec): Set to true by default. * syscalls.cc (seteuid32): Remove label success_9x. * wincap.cc: Remove has_security throughout. * wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/cygtls.cc')
-rw-r--r--winsup/cygwin/cygtls.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc
index ce794cd38..dbf9a0183 100644
--- a/winsup/cygwin/cygtls.cc
+++ b/winsup/cygwin/cygtls.cc
@@ -1,6 +1,6 @@
/* cygtls.cc
- Copyright 2003, 2004, 2005, 2006 Red Hat, Inc.
+ Copyright 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
@@ -113,8 +113,7 @@ _cygtls::init_thread (void *x, DWORD (*func) (void *, void *))
|| (void *) func == (void *) cygthread::simplestub)
return;
- if (wincap.has_security ())
- cygheap->user.reimpersonate ();
+ cygheap->user.reimpersonate ();
sentry here (INFINITE);
if (nthreads >= cygheap->sthreads)