00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "includes.h"
00022
00023
00024
00025
00026
00027 SMB_ACL_T irixacl_sys_acl_get_file(vfs_handle_struct *handle,
00028 const char *path_p,
00029 SMB_ACL_TYPE_T type)
00030 {
00031 errno = ENOTSUP;
00032 return NULL;
00033 }
00034
00035 SMB_ACL_T irixacl_sys_acl_get_fd(vfs_handle_struct *handle,
00036 files_struct *fsp,
00037 int fd)
00038 {
00039 errno = ENOTSUP;
00040 return NULL;
00041 }
00042
00043 int irixacl_sys_acl_set_file(vfs_handle_struct *handle,
00044 const char *name,
00045 SMB_ACL_TYPE_T type,
00046 SMB_ACL_T theacl)
00047 {
00048 errno = ENOTSUP;
00049 return -1;
00050 }
00051
00052 int irixacl_sys_acl_set_fd(vfs_handle_struct *handle,
00053 files_struct *fsp,
00054 int fd, SMB_ACL_T theacl)
00055 {
00056 errno = ENOTSUP;
00057 return -1;
00058 }
00059
00060 int irixacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
00061 const char *path)
00062 {
00063 errno = ENOTSUP;
00064 return -1;
00065 }
00066
00067
00068
00069
00070
00071 static vfs_op_tuple irixacl_op_tuples[] = {
00072
00073 {SMB_VFS_OP(irixacl_sys_acl_get_file),
00074 SMB_VFS_OP_SYS_ACL_GET_FILE,
00075 SMB_VFS_LAYER_TRANSPARENT},
00076
00077 {SMB_VFS_OP(irixacl_sys_acl_get_fd),
00078 SMB_VFS_OP_SYS_ACL_GET_FD,
00079 SMB_VFS_LAYER_TRANSPARENT},
00080
00081 {SMB_VFS_OP(irixacl_sys_acl_set_file),
00082 SMB_VFS_OP_SYS_ACL_SET_FILE,
00083 SMB_VFS_LAYER_TRANSPARENT},
00084
00085 {SMB_VFS_OP(irixacl_sys_acl_set_fd),
00086 SMB_VFS_OP_SYS_ACL_SET_FD,
00087 SMB_VFS_LAYER_TRANSPARENT},
00088
00089 {SMB_VFS_OP(irixacl_sys_acl_delete_def_file),
00090 SMB_VFS_OP_SYS_ACL_DELETE_DEF_FILE,
00091 SMB_VFS_LAYER_TRANSPARENT},
00092
00093 {SMB_VFS_OP(NULL),
00094 SMB_VFS_OP_NOOP,
00095 SMB_VFS_LAYER_NOOP}
00096 };
00097
00098 NTSTATUS vfs_irixacl_init(void);
00099 NTSTATUS vfs_irixacl_init(void)
00100 {
00101 return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "irixacl",
00102 irixacl_op_tuples);
00103 }
00104
00105