diff options
author | Ralph Boehme <slow@samba.org> | 2018-07-24 18:58:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-07-25 00:23:12 +0200 |
commit | b294c7c666d56f64d55b71bf9bf2e1223df1d6ef (patch) | |
tree | f692f8584f849845dcc1bc96e1baa543eefec60f /examples/VFS | |
parent | 010bbe536e26a31bcb7d36cc946b1982247b4443 (diff) | |
download | samba-b294c7c666d56f64d55b71bf9bf2e1223df1d6ef.tar.gz |
examples/VFS/skel_opaque: add missing audit_file_fn
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 446cfd5767e..6b91a26c7c5 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -885,6 +885,15 @@ static bool skel_aio_force(struct vfs_handle_struct *handle, return false; } +static NTSTATUS skel_audit_file(struct vfs_handle_struct *handle, + struct smb_filename *file, + struct security_acl *sacl, + uint32_t access_requested, + uint32_t access_denied) +{ + return NT_STATUS_NOT_IMPLEMENTED; +} + /* VFS operations structure */ struct vfs_fn_pointers skel_opaque_fns = { @@ -975,6 +984,7 @@ struct vfs_fn_pointers skel_opaque_fns = { .translate_name_fn = skel_translate_name, .fsctl_fn = skel_fsctl, .readdir_attr_fn = skel_readdir_attr, + .audit_file_fn = skel_audit_file, /* DOS attributes. */ .get_dos_attributes_fn = skel_get_dos_attributes, |