/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | nttrans.c | 1044 static NTSTATUS set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32 security_info_sent) argument 1087 security_info_sent &= ~OWNER_SECURITY_INFORMATION; 1089 security_info_sent &= ~GROUP_SECURITY_INFORMATION; 1091 security_info_sent &= ~SACL_SECURITY_INFORMATION; 1093 security_info_sent &= ~DACL_SECURITY_INFORMATION; 1095 ret = SMB_VFS_FSET_NT_ACL( fsp, fsp->fd, security_info_sent, psd); 1720 uint32 security_info_sent = 0; local 1732 security_info_sent = IVAL(params,4); 1735 (unsigned int)security_info_sent )); 1740 if (!NT_STATUS_IS_OK(nt_status = set_sd( fsp, data, data_count, security_info_sent))) [all...] |
H A D | posix_acls.c | 882 static BOOL unpack_nt_owners(SMB_STRUCT_STAT *psbuf, uid_t *puser, gid_t *pgrp, uint32 security_info_sent, SEC_DESC *psd) argument 890 if(security_info_sent == 0) { 909 if (security_info_sent & OWNER_SECURITY_INFORMATION) { 929 if (security_info_sent & GROUP_SECURITY_INFORMATION) { 1893 uint32 security_info_sent, SEC_DESC *psd) 1901 if(security_info_sent == 0) { 1910 if(!(security_info_sent & DACL_SECURITY_INFORMATION) || !psd->dacl) 2955 Reply to set a security descriptor on an fsp. security_info_sent is the 2960 BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd) argument 3005 if (!unpack_nt_owners( &sbuf, &user, &grp, security_info_sent, ps 1888 unpack_canon_ace(files_struct *fsp, SMB_STRUCT_STAT *pst, DOM_SID *pfile_owner_sid, DOM_SID *pfile_grp_sid, canon_ace **ppfile_ace, canon_ace **ppdir_ace, uint32 security_info_sent, SEC_DESC *psd) argument [all...] |
H A D | vfs-wrap.c | 805 BOOL vfswrap_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info_sent, SEC_DESC *psd) argument 810 result = set_nt_acl(fsp, security_info_sent, psd); 815 BOOL vfswrap_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp, const char *name, uint32 security_info_sent, SEC_DESC *psd) argument 820 result = set_nt_acl(fsp, security_info_sent, psd);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/ |
H A D | vfs_macros.h | 78 #define SMB_VFS_FSET_NT_ACL(fsp, fd, security_info_sent, psd) ((fsp)->conn->vfs.ops.fset_nt_acl((fsp)->conn->vfs.handles.fset_nt_acl, (fsp), (fd), (security_info_sent), (psd))) 79 #define SMB_VFS_SET_NT_ACL(fsp, name, security_info_sent, psd) ((fsp)->conn->vfs.ops.set_nt_acl((fsp)->conn->vfs.handles.set_nt_acl, (fsp), (name), (security_info_sent), (psd))) 176 #define SMB_VFS_OPAQUE_FSET_NT_ACL(fsp, fd, security_info_sent, psd) ((fsp)->conn->vfs_opaque.ops.fset_nt_acl((fsp)->conn->vfs_opaque.handles.fset_nt_acl, (fsp), (fd), (security_info_sent), (psd))) 177 #define SMB_VFS_OPAQUE_SET_NT_ACL(fsp, name, security_info_sent, psd) ((fsp)->conn->vfs_opaque.ops.set_nt_acl((fsp)->conn->vfs_opaque.handles.set_nt_acl, (fsp), (name), (security_info_sent), (psd))) 274 #define SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, fd, security_info_sent, psd) ((handle)->vfs_next.ops.fset_nt_acl((handle)->vfs_next.handles.fset_nt_acl, (fsp), (fd), (security_info_sent), (ps [all...] |
H A D | vfs.h | 249 BOOL (*fset_nt_acl)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, uint32 security_info_sent, struct security_descriptor_info *psd); 250 BOOL (*set_nt_acl)(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name, uint32 security_info_sent, struct security_descriptor_info *psd);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/VFS/ |
H A D | skel_transparent.c | 243 static BOOL skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info_sent, struct security_descriptor_info *psd) argument 245 return SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, fd, security_info_sent, psd); 248 static BOOL skel_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp, const char *name, uint32 security_info_sent, struct security_descriptor_info *psd) argument 250 return SMB_VFS_NEXT_SET_NT_ACL(handle, fsp, name, security_info_sent, psd);
|
H A D | skel_opaque.c | 246 static BOOL skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info_sent, struct security_descriptor_info *psd) argument 252 static BOOL skel_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp, const char *name, uint32 security_info_sent, struct security_descriptor_info *psd) argument
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/modules/ |
H A D | vfs_cap.c | 180 static BOOL cap_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp, const char *name, uint32 security_info_sent, struct security_descriptor_info *psd) argument 184 return SMB_VFS_NEXT_SET_NT_ACL(handle, fsp, capname, security_info_sent, psd);
|