src/winsup/cygwin ChangeLog cygheap.h security ...
Mon Jul 14 17:04:00 GMT 2003

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2003-07-14 17:04:21

Modified files:
	winsup/cygwin  : ChangeLog cygheap.h 

Log message:
	* cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid
	value for tokens.
	* (seteuid32): Ditto.  Set new_token to process token if
	process token is suitable.
	* (uinfo_init): Initialize tokens in cygheap user info
	* 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.
	* (cygwin_set_impersonation_token): Always set the token.
	(verify_token): Change type of gsid to cygpsid.
	(get_file_attribute): Use the effective ids.
	* (seteuid32): Modify to use cygheap_user::current_token.
	* (uinfo_init) Do not set cygheap->user.impersonation_state.


More information about the Cygwin-cvs mailing list