OSDN Git Service

* syscalls.cc (seteuid): Set environment variables USERNAME and
authorcorinna <corinna>
Sat, 9 Jun 2001 21:25:55 +0000 (21:25 +0000)
committercorinna <corinna>
Sat, 9 Jun 2001 21:25:55 +0000 (21:25 +0000)
commit1d89e5e6b096326404e6ff6dffaefd5f51c448e3
tree0c97b7f94de065b431e206a4df5bb0f183f99d35
parentff79483ff014eadd3181923a4f0d20ffca60ea55
    * syscalls.cc (seteuid): Set environment variables USERNAME and
        USERDOMAIN before impersonation to workaround a LookupAccountSid()
        misbehaviour.
        * uinfo.cc (internal_getlogin): Revert most of the previous change.
        Don't set environment variables USERNAME and USERDOMAIN. That's
        the job of seteuid() now. Try to get logon server from Lsa
        only if logon server isn't already known.
winsup/cygwin/ChangeLog
winsup/cygwin/syscalls.cc
winsup/cygwin/uinfo.cc