This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

src/winsup/cygwin ChangeLog autoload.cc cyghea ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2001-04-25 02:43:25

Modified files:
	winsup/cygwin  : ChangeLog autoload.cc cygheap.cc grp.cc 
	                 passwd.cc sec_acl.cc sec_helper.cc security.cc 
	                 security.h shared.cc syscalls.cc uinfo.cc 
	                 winsup.h 

Log message:
	* autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16.
	* cygheap.cc: Include security.h.
	* grp.cc (internal_getgrent): New function.
	(getgroups): Rearranged using `internal_getgrent' and the new
	`cygsid' class.
	* passwd.cc (internal_getpwent): New function.
	* sec_acl.cc: Use new `cygsid' class throughout.
	(acl_access): Use `internal_getgrent' instead of `getgrent'.
	* sec_helper.cc: Use new `cygsid' class throughout.
	(get_id_from_sid): Use `internal_getgrent' instead of `getgrent'.
	Use `internal_getpwent' instead of `getpwent'.
	* security.cc: Use new `cygsid' class throughout.
	* security.h: Move `MAX_SID_LEN' from winsup.h to here.
	Add extern declarations for `internal_getgrent' and `internal_getpwent'.
	(class cygsid): New class.
	* shared.cc (sec_user): Use new `cygsid' class.
	* syscalls.cc (seteuid): Try to set owner to user and primary group to
	current group in impersonation token before performing impersonation.
	(setegid): Try to set primary group in process token to the new group
	if ntsec is on.
	* uinfo.cc (internal_getlogin): Use new `cygsid' class.
	Try to set owner to user and primary group to current group in process
	token if the process has been started from a non cygwin process.
	(uinfo_init): Set primary group only if the process has been started
	from a non cygwin process.
	* winsup.h: Move define for `MAX_SID_LEN' to security.h.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.666&r2=1.667
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=src&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=src&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/passwd.cc.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_helper.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.cc.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.108&r2=1.109
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.33&r2=1.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.51&r2=1.52


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]