diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-01-21 18:32:16 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-01-21 18:32:16 +0100 |
commit | b5c80f5a59fda4e3890bf3cb515a67f420057e02 (patch) | |
tree | 537441a3192f76859bffefcf233eca34158d79e5 /winsup/utils | |
parent | d44ec01ea175d6fb226191e19533cc7675dfae0d (diff) | |
download | newlib-b5c80f5a59fda4e3890bf3cb515a67f420057e02.zip newlib-b5c80f5a59fda4e3890bf3cb515a67f420057e02.tar.gz newlib-b5c80f5a59fda4e3890bf3cb515a67f420057e02.tar.bz2 |
cygwin_logon_user: Return non-privileged token as well
If the calling process doesn't have sufficient privileges to
fetch the linked token of an admin-user token, cygwin_logon_user
fails. This patch changes that by returning the original,
unprivileged token of the admin user to allow authentication
and calling setuid for the current process.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
0 files changed, 0 insertions, 0 deletions