Displaying 1 result from an estimated 1 matches for "skel_fchmod_acl".
Did you mean:
skel_chmod_acl
2004 Jun 23
1
Skel VFS module crashes smbd when we have no ACL support in samba v2.2.9.
...+ samba/examples/VFS/skel.c 2004-06-23 04:25:17.000000000 +0400
@@ -237,11 +237,15 @@
static BOOL skel_chmod_acl(struct connection_struct *conn, const char *name, mode_t mode)
{
+ if (!default_vfs_ops.chmod_acl)
+ return 0;
return default_vfs_ops.chmod_acl(conn, name, mode);
}
static BOOL skel_fchmod_acl(struct files_struct *fsp, int fd, mode_t mode)
{
+ if (!default_vfs_ops.fchmod_acl)
+ return 0;
return default_vfs_ops.fchmod_acl(fsp, fd, mode);
}
-----------------------------------------------------------------------------
Thanks.