svn commit: samba r14382 - in branches/tmp/vl-posixacls/source:
lib modules smbd
Jeremy Allison
jra at samba.org
Tue Mar 14 15:55:12 GMT 2006
On Tue, Mar 14, 2006 at 03:29:38PM +0000, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2006-03-14 15:29:37 +0000 (Tue, 14 Mar 2006)
> New Revision: 14382
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14382
>
> Log:
> By default redirect sys_acl_get_fd and friends to a fixed compile-time
> module. This so far is only posixacl, but re-adding the other ones should now
> be quite easy. (I hope...)
>
> acl_valid was used only once, defer that to acl_set_fd and acl_set_file.
>
> For the background: I want to enable Samba to cope with two different posix
> apis at the same time. I do this by defining a common SMB_ACL_T structure that
> is the same for all API variations, and it's the task of acl_get_file,
> acl_get_fd, acl_set_file and acl_set_fd to cope with converting to the native
> representation.
>
> Jeremy, if you have time you might want to take a look.
>
> This one is a lot less intrusive than the former attempt, although today
> passing all the pure in-memory acl handling through the VFS layer is a bit
> overkill I think. It is less intrusive because I've preserved the API towards
> posix_acls.c based on the Solaris implementation.
What a shame, I always hated the Solaris implementation :-).
I'll try and look at this but other things may intervene....
Jeremy.
More information about the samba-technical
mailing list