src/winsup/cygwin ChangeLog dcrt0.cc winsup.h ...

corinna@sourceware.cygnus.com corinna@sourceware.cygnus.com
Thu Mar 16 11:35:00 GMT 2000


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.cygnus.com	00/03/16 11:35:19

Modified files:
	winsup/cygwin  : ChangeLog dcrt0.cc winsup.h syscalls.cc 
	                 security.cc fhandler.cc path.cc 

Log message:
	* security.cc (set_process_privileges): Removed `static'.
	(get_nt_attribute): Returns uid and gid additionally. Removed call
	to set_process_privileges().
	(get_file_attribute): Returns uid and gid additionally. Don't
	call ntea if ntsec is ON.
	(set_nt_attribute): Removed call to set_process_privileges().
	Don't call ntea if ntsec is ON.
	(acl): Removed call to set_process_privileges().
	* dcrt0.cc (dll_crt0_1): Calls set_process_privileges() now.
	* winsup.h: New prototype for set_process_privileges(),
	changed prototype for get_file_attribute().
	* fhandler.cc (get_file_owner): Discarded.
	(get_file_group): Ditto.
	(fhandler_disk_file::fstat): Discard calls to get_file_owner() and
	get_file_group().
	* path.cc (path_conv::path_conv): Added debugging output for result
	of GetVolumeInformation().
	(mount_info::conv_to_win32_path): Call backslashify() with pathbuf
	instead of src_path.
	* syscalls.cc (chown): Reformatted.
	(chmod): Replace get_file_owner() and get_file_group() calls
	by a call to get_file_attribute(). Discard local variable has_acls.
	Slightly reformatted.
	(stat_worker): Replaced idiot's (it's me) root dir check by call
	to rootdir(). Don't call num_entries() on remote drives.
	Discard local variable has_acls.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.30&r2=1.31
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.2&r2=1.3



More information about the Cygwin-cvs mailing list