acadia-newlib/winsup
Corinna Vinschen ea3ba11499 * cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid
value for tokens.
	* syscalls.cc (seteuid32): Ditto.  Set new_token to process token if
	process token is suitable.
	* uinfo.cc (uinfo_init): Initialize tokens in cygheap user info
	to INVALID_HANDLE_VALUE.

	* cygheap.h (enum impersonation): Delete.
	(cygheap_user::impersonation_state): Delete.
	(cygheap_user::current_token): New.
	(cygheap_user::issetuid): Modify to use current_token.
	(cygheap_user::token): Ditto.
	(cygheap_user::deimpersonate): Ditto.
	(cygheap_user::reimpersonate): Ditto.
	(cygheap_user::has_impersonation_tokens): Ditto.
	(cygheap_user::close_impersonation_tokens): Ditto.
	* security.cc (cygwin_set_impersonation_token): Always set the token.
	(verify_token): Change type of gsid to cygpsid.
	(get_file_attribute): Use the effective ids.
	* syscalls.cc (seteuid32): Modify to use cygheap_user::current_token.
	* uinfo.cc (uinfo_init) Do not set cygheap->user.impersonation_state.
2003-07-14 17:04:21 +00:00
..
bz2lib * Makefile.in: Use MINGW stuff from Makefile.common. 2002-07-07 00:44:08 +00:00
cygserver * Makefile.in (OBJS): Move some more files from cygwin directory. 2003-07-02 02:31:32 +00:00
cygwin * cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid 2003-07-14 17:04:21 +00:00
doc ntsec patch 2003-07-04 01:58:24 +00:00
mingw * config.guess, config.sub: Update with versions from ftp.gnu.org. 2003-07-03 15:15:56 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite update copyright 2003-07-06 21:45:21 +00:00
utils * mount.cc (struct opt): Remove posix option. 2003-07-04 03:20:22 +00:00
w32api 2003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net> 2003-07-13 03:41:46 +00:00
CYGWIN_LICENSE Change location. 2003-01-13 21:11:19 +00:00
ChangeLog * configure.in: Add --enable-server option. 2003-07-02 03:33:01 +00:00
Makefile.common * Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on 2003-07-02 02:30:16 +00:00
Makefile.in * configure.in: Add cygserver subdir. 2003-07-01 20:51:03 +00:00
configure * configure.in: Add --enable-server option. 2003-07-02 03:33:01 +00:00
configure.in * configure.in: Add --enable-server option. 2003-07-02 03:33:01 +00:00