diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-11-09 15:24:34 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-11-09 15:24:34 +0000 |
commit | c3a0492e168ea29b9a2c9d9469af4f151141c571 (patch) | |
tree | 2d8316fcc3ca26758cfaf2e0f9a3b773b9f93584 /winsup/cygwin/autoload.cc | |
parent | cb505ee6950098ed7fb328b97a009a641fb8da06 (diff) | |
download | cygnal-c3a0492e168ea29b9a2c9d9469af4f151141c571.tar.gz cygnal-c3a0492e168ea29b9a2c9d9469af4f151141c571.tar.bz2 cygnal-c3a0492e168ea29b9a2c9d9469af4f151141c571.zip |
* autoload.cc (EqualPrefixSid): Define.
* security.cc (create_token): Drop grps_buf. Use alloca instead.
Only add the MIC SID to the TOKEN_GROUPS list for the NtCreateToken
call. If the subauthentication token exists, use its MIC SID.
Set SID Attributes for the MIC SID to 0.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 738d832e2..1e7fb783a 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -312,6 +312,7 @@ LoadDLLfuncEx (CryptReleaseContext, 8, advapi32, 1) LoadDLLfunc (DeregisterEventSource, 4, advapi32) LoadDLLfunc (DuplicateToken, 12, advapi32) LoadDLLfuncEx (DuplicateTokenEx, 24, advapi32, 1) +LoadDLLfunc (EqualPrefixSid, 8, advapi32) LoadDLLfunc (EqualSid, 8, advapi32) LoadDLLfunc (FindFirstFreeAce, 8, advapi32) LoadDLLfunc (GetAce, 12, advapi32) |