winsup/cygwin ChangeLog cygheap.h d ...
Fri Jun 14 11:01:00 GMT 2002

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2002-06-14 11:01:26

Modified files:
	cygwin         : ChangeLog cygheap.h 

Log message:
	* (cygheap_user::set_logsrv): Remove.
	(cygheap_user::set_domain): Ditto.
	* cygheap.h (cygheap_user::set_logsrv): Remove declaration.
	(cygheap_user::set_domain): Ditto.
	(cygheap_user::env_domain): Declare new method.
	(cygheap_user::env_name): Ditto.
	* (spenvs): Add two environment variables.
	* (spawn_guts): Call build_env after RevertToSelf.  Always set
	(cygheap_user::ontherange): Recalculate homedrive/homepath if they are empty.
	Use env_logsrv to get logon server.
	(cygheap_user::env_logsrv): Calculate server name here rather than relying on
	it having been previously calculated.
	(cygheap_user::env_domain): Ditto for domain name.
	(cygheap-user::env_name): New method.
	* (seteuid32): Do not get or set the environment.  Do not call
	LookupAccountSid nor internal_getlogin.  Set cygheap->user name and sid from
	the passwd entry.
	* (uinfo_init): Only call internal_getlogin when starting from a non
	Cygwin process and use the values returned in user.
	(internal_getlogin): Simplify to case where starting from a non Cygwin process.
	Store return values in user and return void.  Do not set the Windows default
	* (dll_crt0_1): Call uinfo_init only when needed.  Do not set
	myself->uid nor reset user.sid.
	* (spawn_guts): Get the sid from cygheap->user.  Always
	RevertToSelf().  Don't set uid in impersonated case.
	* (cygheap_user::set_sid): Do not set orig_sig.
	(cygheap_user::set_orig_sid): New.
	* cygheap.h: Declare cygheap_user::set_sid.
	* winsup.h: Add argument to uinfo_init().


More information about the Cygwin-cvs mailing list