diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-03-18 18:54:19 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-03-18 18:54:19 +0300 |
commit | 1d91d469ee534fab47fdb710a037378c103fee23 (patch) | |
tree | ec9b949c09dd5051dd1398e782e3bb15ee5f967d /winsup/cygwin/grp.cc | |
parent | 6f93f1d6a54c593ff17415f465f5b351fa8d90cb (diff) |
Drop unneeded passwd argument from security functions
* sec_auth.cc (get_server_groups): Drop unused passwd argument. Adjust
calls throughout.
(get_initgroups_sidlist): Ditto.
(get_setgroups_sidlist): Ditto.
(create_token): Ditto.
(lsaauth): Ditto.
* security.h (create_token): Adjust prototype to above change.
(lsaauth): Ditto.
(get_server_groups): Ditto.
* grp.cc (get_groups): Adjust call to get_server_groups.
* syscalls.cc (seteuid32): Adjust calls to lsaauth and create_token.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index e1f5e4b23..53551161a 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -720,7 +720,7 @@ get_groups (const char *user, gid_t gid, cygsidlist &gsids) struct group *grp = internal_getgrgid (gid, &cldap); cygsid usersid, grpsid; if (usersid.getfrompw (pw)) - get_server_groups (gsids, usersid, pw); + get_server_groups (gsids, usersid); if (gid != ILLEGAL_GID && grpsid.getfromgr (grp)) gsids += grpsid; cygheap->user.reimpersonate (); |