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 fork.cc grp.cc reg ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2001-05-15 12:23:31

Modified files:
	winsup/cygwin  : ChangeLog fork.cc grp.cc registry.cc sec_acl.cc 
	                 sec_helper.cc security.cc security.h shared.cc 
	                 spawn.cc syscalls.cc uinfo.cc 

Log message:
	* fork.cc (fork): Eliminate superfluous call to getuid().
	* security.h: New define `NO_SID'. Remove declarations of functions
	moved to methods into class cygsid.
	(class cygsid): Declare new methods `getfromstr', `get_sid',
	`getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
	and new constructors and operators =, == and !=.
	Declare new global cygsids `well_known_XXX_sid' substituting the
	corresponding `get_XXX_sid' functions. Remove declarations of
	these functions.
	* sec_helper.cc (well_known_admin_sid): New global variable.
	(well_known_system_sid): Ditto
	(well_known_creator_owner_sid): Ditto
	(well_known_world_sid): Ditto
	(cygsid::string): New method, substituting `convert_sid_to_string_sid'.
	(cygsid::get_sid): New method, substituting `get_sid'.
	(cygsid::getfromstr): New method, substituting
	`convert_string_sid_to_sid'.
	(cygsid::getfrompw): New method, substituting `get_pw_sid'.
	(cygsid::getfromgr): New method, substituting `get_gr_sid'.
	(cygsid::get_id): New method, substituting `get_id_from_sid'.
	(get_admin_sid): Eliminated.
	(get_system_sid): Ditto.
	(get_creator_owner_sid): Ditto.
	(get_world_sid): Ditto.
	* grp.cc: Use new cygsid methods and well known sids throughout.
	* registry.cc: Ditto.
	* sec_acl.cc: Ditto.
	* security.cc: Ditto.
	* shared.cc: Ditto.
	* syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
	* uinfo.cc (internal_getlogin): Ditto.
	* spawn.cc (spawn_guts) Revert previous patch.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.713&r2=1.714
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.45&r2=1.46
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/registry.cc.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_helper.cc.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.cc.diff?cvsroot=src&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.75&r2=1.76
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.112&r2=1.113
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.37&r2=1.38


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