diff options
author | Noel Power <noel.power@suse.com> | 2021-05-14 15:26:46 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-06-09 13:14:30 +0000 |
commit | e59244461f477b01fe3110fcf5d73f2d9962bf4f (patch) | |
tree | 3725f369fd17011c4a09cc986af1c88408fe68d8 /examples | |
parent | 5504a5502d5146d38927f17bcda590e86c3427bc (diff) | |
download | samba-e59244461f477b01fe3110fcf5d73f2d9962bf4f.tar.gz |
VFS: SMB_VFS_SYS_ACL_GET_FD: Modify api to take additional type param
Modify all implementations (and the definitions) related to
SMB_VFS_SYS_ACL_GET_FD to accept additional SMB_ACL_TYPE_T type param.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 4ac5e61f1ff..8ec6e0dff38 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -808,7 +808,9 @@ static SMB_ACL_T skel_sys_acl_get_file(vfs_handle_struct *handle, } static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, - files_struct *fsp, TALLOC_CTX *mem_ctx) + files_struct *fsp, + SMB_ACL_TYPE_T type, + TALLOC_CTX *mem_ctx) { errno = ENOSYS; return (SMB_ACL_T) NULL; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 9138bde0872..bd22b62e5d0 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -1075,9 +1075,11 @@ static SMB_ACL_T skel_sys_acl_get_file(vfs_handle_struct *handle, } static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, - files_struct *fsp, TALLOC_CTX *mem_ctx) + files_struct *fsp, + SMB_ACL_TYPE_T type, + TALLOC_CTX *mem_ctx) { - return SMB_VFS_NEXT_SYS_ACL_GET_FD(handle, fsp, mem_ctx); + return SMB_VFS_NEXT_SYS_ACL_GET_FD(handle, fsp, type, mem_ctx); } static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, |