diff options
author | Jeremy Allison <jra@samba.org> | 2008-05-08 18:09:07 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-05-08 18:09:07 -0700 |
commit | 00b2cdf75e9bea25034440054b4acd91a179c86d (patch) | |
tree | 1e049c04c17693bd64c1d8d80a6fd3f0d85c878d /source3/modules/vfs_afsacl.c | |
parent | f7d39653f5c5bea025a77191555231e8a28b25b8 (diff) | |
download | samba-00b2cdf75e9bea25034440054b4acd91a179c86d.tar.gz samba-00b2cdf75e9bea25034440054b4acd91a179c86d.tar.xz samba-00b2cdf75e9bea25034440054b4acd91a179c86d.zip |
Yay ! Remove a VFS entry. Removed the set_nt_acl() call,
this can only be done via fset_nt_acl() using an open
file/directory handle. I'd like to do the same with
get_nt_acl() but am concerned about efficiency
problems with "hide unreadable/hide unwritable" when
doing a directory listing (this would mean opening
every file in the dir on list).
Moving closer to rationalizing the ACL model and
maybe moving the POSIX calls into a posix_acl VFS
module rather than having them as first class citizens
of the VFS.
Jeremy.
(This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
Diffstat (limited to 'source3/modules/vfs_afsacl.c')
-rw-r--r-- | source3/modules/vfs_afsacl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index e35bfabb8c7..9409f3fa203 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -1045,14 +1045,6 @@ NTSTATUS afsacl_fset_nt_acl(vfs_handle_struct *handle, return afs_set_nt_acl(handle, fsp, security_info_sent, psd); } -NTSTATUS afsacl_set_nt_acl(vfs_handle_struct *handle, - files_struct *fsp, - const char *name, uint32 security_info_sent, - SEC_DESC *psd) -{ - return afs_set_nt_acl(handle, fsp, security_info_sent, psd); -} - static int afsacl_connect(vfs_handle_struct *handle, const char *service, const char *user) @@ -1078,8 +1070,6 @@ static vfs_op_tuple afsacl_ops[] = { SMB_VFS_LAYER_TRANSPARENT}, {SMB_VFS_OP(afsacl_fset_nt_acl), SMB_VFS_OP_FSET_NT_ACL, SMB_VFS_LAYER_TRANSPARENT}, - {SMB_VFS_OP(afsacl_set_nt_acl), SMB_VFS_OP_SET_NT_ACL, - SMB_VFS_LAYER_TRANSPARENT}, {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; |