diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-24 17:01:50 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-24 17:01:50 +0400 |
commit | de0557f7a394b4af6a41478c4208a4eb587964a9 (patch) | |
tree | c489268cfb69ee58f03bfa1cc1ca1be9b5cfd2a9 /winsup/cygwin/syscalls.cc | |
parent | 76093a9b7eca259e9b20c8c2fc11b7d2e7847f79 (diff) |
* security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in call
to get_supplementary_group_sidlist.
(create_token): Add pw argument and use it in call to get_group_sidlist.
* security.h: Add pw argument in declaration of create_token.
* syscalls.cc (seteuid32): Add pw argument in call to create_token.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index a788c604b..d5b6be4ff 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -2043,7 +2043,7 @@ seteuid32 (__uid32_t uid) { /* If no impersonation token is available, try to authenticate using NtCreateToken() or subauthentication. */ - cygheap->user.token = create_token (usersid, pgrpsid); + cygheap->user.token = create_token (usersid, pgrpsid, pw_new); if (cygheap->user.token != INVALID_HANDLE_VALUE) explicitly_created_token = TRUE; else |