aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/security.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-02-05 17:23:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-02-05 17:23:19 +0000
commitd82c6f474d1126cdd7d298991610fa23823dd99f (patch)
tree617e6fefbae53c368edbdcb131571c50e5e7877e /winsup/cygwin/security.cc
parent0d902e61d123e5c3b04a6892b7dfccb82e2a7111 (diff)
downloadnewlib-d82c6f474d1126cdd7d298991610fa23823dd99f.zip
newlib-d82c6f474d1126cdd7d298991610fa23823dd99f.tar.gz
newlib-d82c6f474d1126cdd7d298991610fa23823dd99f.tar.bz2
* security.h (SID): New macro.
(well_known_*_sid): Change type to cygpsid. (cygsid::init): Delete declaration. * sec_helper.cc (well_known_*_sid): Define using above SID macro. (cygsid::init): Delete. * dcrt0.cc (dll_crt0_0): Do not call cygsid::init. * security.cc (get_user_local_groups): Change the second argument type to cygpsid.
Diffstat (limited to 'winsup/cygwin/security.cc')
-rw-r--r--winsup/cygwin/security.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 1c34052..66052ac 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -425,7 +425,7 @@ get_user_local_groups (cygsidlist &grp_list, PSID pusersid)
}
static bool
-sid_in_token_groups (PTOKEN_GROUPS grps, cygsid &sid)
+sid_in_token_groups (PTOKEN_GROUPS grps, cygpsid sid)
{
if (!grps)
return false;