acadia-newlib/winsup
Corinna Vinschen b5c80f5a59 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>
2016-01-21 18:32:16 +01:00
..
cygserver Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
cygwin cygwin_logon_user: Return non-privileged token as well 2016-01-21 18:32:16 +01:00
doc faq: Update FAQ question and answer about gdb and signals 2016-01-15 14:59:07 +00:00
lsaauth Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
testsuite Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
utils Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
COPYING
CYGWIN_LICENSE
ChangeLog Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog-2015 Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
Makefile.common
Makefile.in
README
acinclude.m4
aclocal.m4
autogen.sh
c++wrap
ccwrap
config.guess
config.sub
configure * configure.ac: Convert to new AC_INIT style. 2014-11-13 12:12:56 +00:00
configure.ac * configure.ac: Convert to new AC_INIT style. 2014-11-13 12:12:56 +00:00
configure.cygwin
install-sh

README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin