This is the mail archive of the cygwin-patches@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]
Other format: [Raw text]

Re: security.cc and sec_acl.cc (ntsec, inheritance and sec_acl)


Hello Corinna,

No outstanding question this time, from my side at least...

Pierre

2002/12/16  Pierre Humblet  <pierre.humblet@ieee.org>

	* sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard.
	(setacl): Use well_known_creator for default owner and owning group 
	and do not try to merge non-default and default entries in these cases.
	(getacl): Recognize well_known_creator for default owner and group.
	(acl_worker): Improve errno settings and streamline the nontsec case.
	* security.cc (alloc_sd): Change inheritance rules: on new directories add
	inherit only ACEs for creator_owner, creator_group and everyone. Preserve
	all inheritances through chmod and chown calls. Introduce isownergroup
	to implement the uid == gid case, to keep the inheritance code simple.
	Do not initialize owner_sid and group_sid and stop using variable psd.

Attachment: inherit.diff
Description: Text document


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