src/winsup/cygwin ChangeLog cygwin.din dcrt0.c ...
Fri Jun 16 12:36:00 GMT 2000

CVSROOT:	/cvs/src
Module name:	src
Changes by:	00/06/16 12:36:07

Modified files:
	winsup/cygwin  : ChangeLog cygwin.din 
	winsup/cygwin/include/cygwin: version.h 
	winsup/cygwin/include/sys: cygwin.h 

Log message:
	* cygwin.din: Define symbols for `cygwin_logon_user' and
	* (dll_crt0_1): Eliminate superfluous conditional
	Add load statements for `ImpersonateLoggedOnUser', `LogonUserA'
	and `RevertToSelf'.
	* (fork): Care for correct impersonation of parent
	and child process.
	* (cygwin_set_impersonation_token): New function.
	(cygwin_logon_user): Ditto.
	shared.h (class pinfo): New members `orig_uid', `orig_gid',
	`real_uid' nad `real_gid'. (spawn_guts): Care for impersonation when starting
	child process in a different user context.
	* (setgid): Call `setegid' now. Set real_gid.
	(setuid): Call `seteuid' now. Set real_uid.
	(seteuid): Functionality moved from setuid to here. Care for
	correct impersonation.
	(setegid): Functionality moved from setgid to here.
	* (uinfo_init): Initialization of additional pinfo
	(getuid): Return real uid.
	(getgid): Return real gid.
	(geteuid): Return effective uid.
	(getegid): Return effective gid.
	include/sys/cygwin.h: Add prototypes for `cygwin_logon_user' and
	include/cygwin/version.h: Bumb API minor version to 22.


More information about the Cygwin-cvs mailing list