src/winsup/cygwin ChangeLog sec_acl.cc

corinna@cygwin.com corinna@cygwin.com
Sun Nov 24 10:58:00 GMT 2002


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2002-11-24 10:58:48

Modified files:
	winsup/cygwin  : ChangeLog sec_acl.cc 

Log message:
	2002-11-24  Corinna Vinschen  <corinna@vinschen.de>
	
	* sec_acl.cc: Fix some formatting.  Only set and check `other' bits in
	a_perm throughout.  Use ILLEGAL_GID id for all entries having no id.
	(setacl): Fix inheritance condition.
	(getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ
	entries.  Remove DENY bits before returning to calling function.
	(acltomode): Fix usage of searchace().  If available, use CLASS_OBJ
	to mask GROUP_OBJ permissions.
	(aclfrommode): Fix usage of searchace().  If available, set CLASS_OBJ
	permissions to same value as GROUP_OBJ permissions.
	
	2002-11-24  Pierre Humblet <pierre.humblet@ieee.org>
	
	* sec_acl.cc (getace): Fix the behavior when allow and
	deny entries are present in arbitrary order.
	(getacl): Report the actual number of entries when
	aclbufp is NULL, even if nentries is zero. Fix the mask
	reporting, handle the case where the owner and group sids
	are equal and streamline the code.
	(acl_worker): Take allow_ntsec into account.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1610&r2=1.1611
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&r1=1.19&r2=1.20



More information about the Cygwin-cvs mailing list