4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 02:09:19 +08:00
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
..
2001-12-20 03:03:59 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2003-07-02 03:32:04 +00:00
2003-07-02 03:32:04 +00:00
2003-04-16 03:03:45 +00:00
2002-09-30 15:17:44 +00:00
2003-03-09 21:51:00 +00:00
2003-07-02 03:16:00 +00:00
2002-12-12 03:09:38 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2002-08-03 23:34:01 +00:00
2002-02-11 02:25:42 +00:00
2003-05-29 03:50:15 +00:00
2002-12-14 16:59:59 +00:00
2003-03-09 20:31:07 +00:00
2003-07-02 03:16:00 +00:00
2003-07-04 03:07:01 +00:00
2003-07-07 05:32:24 +00:00
2003-07-02 03:16:00 +00:00
2002-04-04 05:28:49 +00:00
2003-03-09 20:31:07 +00:00
2003-07-02 03:16:00 +00:00
2002-03-05 18:03:32 +00:00
2003-01-15 10:21:23 +00:00