summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-23 01:52:30 +0000
committerJeremy Allison <jra@samba.org>2001-01-23 01:52:30 +0000
commit2844ec3d511680609d6794b8718001a1bda9e89f (patch)
tree542c2995d9ec0769552533b1e21dd1aa3fbeba5f /source/include/vfs.h
parent2d09b53b3a9201c2f52306fc12ab01a92e712db2 (diff)
downloadsamba-2844ec3d511680609d6794b8718001a1bda9e89f.tar.gz
samba-2844ec3d511680609d6794b8718001a1bda9e89f.tar.xz
samba-2844ec3d511680609d6794b8718001a1bda9e89f.zip
include/vfs.h:
smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod_acl and chmod_acl. lib/substitute.c: smbd/lanman.c: smbd/open.c: smbd/process.c: smbd/reply.c: smbd/service.c: Removed sessetup_user variable. Added current_user_info struct which conatins domain info etc. Added '%D' for client domain parameter. Jeremy.
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 3696178a751..9ca4bde0c53 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -85,10 +85,18 @@ struct vfs_ops {
int (*ftruncate)(struct files_struct *fsp, int fd, SMB_OFF_T offset);
BOOL (*lock)(struct files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
+ /* NT ACL operations. */
+
size_t (*fget_nt_acl)(struct files_struct *fsp, int fd, struct security_descriptor_info **ppdesc);
size_t (*get_nt_acl)(struct files_struct *fsp, char *name, struct security_descriptor_info **ppdesc);
BOOL (*fset_nt_acl)(struct files_struct *fsp, int fd, uint32 security_info_sent, struct security_descriptor_info *psd);
BOOL (*set_nt_acl)(struct files_struct *fsp, char *name, uint32 security_info_sent, struct security_descriptor_info *psd);
+
+ /* POSIX ACL operations. */
+
+ int (*chmod_acl)(struct connection_struct *conn, char *name, mode_t mode);
+ int (*fchmod_acl)(struct files_struct *fsp, int fd, mode_t mode);
+
};
struct vfs_options {