src/winsup/cygwin ChangeLog fhandl ...
Fri Oct 30 19:58:00 GMT 2009

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2009-10-30 19:58:53

Modified files:
	winsup/cygwin  : ChangeLog 

Log message:
	* (security_descriptor::free): If sd_size is 0, call
	LocalFree instead of ::free.
	* Throughout replace old ACE flag definitions with current
	definitions as used in MSDN man pages.
	* Ditto.
	* (fhandler_base::open): Make sure file has really been
	just created before fixing file permissions.  Add S_JUSTCREATED
	attribute to set_file_attribute call.
	* (fhandler_disk_file::mkdir): Always create dir
	with default security descriptor and fix descriptor afterwards.
	Add S_JUSTCREATED flag to set_file_attribute call.
	* (fhandler_socket::bind): Ditto for AF_LOCAL
	socket files.
	* (symlink_worker): Ditto for symlinks.
	* (get_file_sd): Call GetSecurityInfo rather than
	NtQuerySecurityObject.  Explain why.  Change error handling accordingly.
	(alloc_sd): Skip non-inherited, non-standard entries in ACL if
	S_JUSTCREATED attribute is set.  Explain why.  Minor format fixes.
	* security.h (S_JUSTCREATED): New define.
	(security_descriptor::operator=): New operator.


More information about the Cygwin-cvs mailing list