src/winsup/cygwin ChangeLog securi ...
Fri Sep 10 09:32:00 GMT 2010

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2010-09-10 09:32:13

Modified files:
	winsup/cygwin  : ChangeLog security.h 

Log message:
	* (get_file_sd): Add bool parameter justcreated.  Use
	GetSecurityInfo only if justcreated is true, NtQuerySecurityObject
	otherwise.  Add comment to explain why.  Don't waste time to call
	NtQuerySecurityObject twice, just allocate big enough area.
	(get_file_attribute): Call get_file_sd with justcreated set to false.
	(set_file_attribute): Call get_file_sd with justcreated depending on
	S_JUSTCREATED pseudo file attribute.
	(check_file_access): Call get_file_sd with justcreated set to false.
	* (setacl): Ditto.
	(getacl): Ditto.
	* security.h: Convert many functions to regparm functions.
	(get_file_sd): Declare with extra bool parameter.


More information about the Cygwin-cvs mailing list