src/winsup/cygwin ChangeLog cygwin.din dcrt0.c ...

corinna@sourceware.cygnus.com corinna@sourceware.cygnus.com
Fri Jun 16 12:36:00 GMT 2000


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.cygnus.com	00/06/16 12:36:07

Modified files:
	winsup/cygwin  : ChangeLog cygwin.din dcrt0.cc fork.cc 
	                 security.cc shared.h spawn.cc syscalls.cc 
	                 uinfo.cc 
	winsup/cygwin/include/cygwin: version.h 
	winsup/cygwin/include/sys: cygwin.h 

Log message:
	* cygwin.din: Define symbols for `cygwin_logon_user' and
	`cygwin_set_impersonation_token'.
	* dcrt0.cc (dll_crt0_1): Eliminate superfluous conditional
	statements.
	Add load statements for `ImpersonateLoggedOnUser', `LogonUserA'
	and `RevertToSelf'.
	* fork.cc (fork): Care for correct impersonation of parent
	and child process.
	* security.cc (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.cc (spawn_guts): Care for impersonation when starting
	child process in a different user context.
	* syscalls.cc (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.cc (uinfo_init): Initialization of additional pinfo
	members.
	(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
	`cygwin_set_impersonation_token'.
	include/cygwin/version.h: Bumb API minor version to 22.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.145&r2=1.146
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.21&r2=1.22
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=src&r1=1.2&r2=1.3



More information about the Cygwin-cvs mailing list