/linux/fs/smb/server/ |
H A D | smbacl.h | 84 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd, 86 int build_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd, 87 struct smb_ntsd *ppntsd, int ppntsd_size, int addition_info, 100 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len,
|
H A D | smbacl.c | 814 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd, in parse_sec_desc() 827 if (acl_len < sizeof(struct smb_ntsd)) in parse_sec_desc() 896 struct smb_ntsd *pntsd, struct smb_ntsd *ppntsd, in build_sec_desc() 927 offset = sizeof(struct smb_ntsd); in build_sec_desc() 1005 struct smb_ntsd *parent_pntsd = NULL; in smb_inherit_dacl() 1109 struct smb_ntsd *pntsd; in smb_inherit_dacl() 1126 pntsd_alloc_size = sizeof(struct smb_ntsd) + powner_sid_size + in smb_inherit_dacl() 1139 pntsd_size = sizeof(struct smb_ntsd); in smb_inherit_dacl() 1219 struct smb_ntsd *pntsd = NULL; in smb_check_perm_dacl() 1382 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len, in set_info_sec()
|
H A D | vfs.h | 150 struct smb_ntsd *pntsd, int len, 155 struct smb_ntsd **pntsd);
|
H A D | smb2pdu.h | 394 struct smb_ntsd ntsd;
|
H A D | vfs.c | 1463 struct smb_ntsd *pntsd, int len, in ksmbd_vfs_set_sd_xattr() 1539 struct smb_ntsd **pntsd) in ksmbd_vfs_get_sd_xattr() 1584 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr()
|
H A D | smb2pdu.c | 3328 struct smb_ntsd *pntsd; in smb2_open() 3337 pntsd = kmalloc(sizeof(struct smb_ntsd) + in smb2_open() 5523 struct smb_ntsd *pntsd = (struct smb_ntsd *)rsp->Buffer, *ppntsd = NULL; in smb2_get_info_sec() 5544 secdesclen = sizeof(struct smb_ntsd); in smb2_get_info_sec() 6346 struct smb_ntsd *pntsd = (struct smb_ntsd *)buffer; in smb2_set_info_sec()
|
/linux/fs/smb/client/ |
H A D | cifsacl.h | 29 #define DEFAULT_SEC_DESC_LEN (sizeof(struct smb_ntsd) + \ 108 #define MIN_SEC_DESC_LEN (sizeof(struct smb_ntsd) + (2 * MIN_SID_LEN))
|
H A D | cifsacl.c | 518 static __u32 copy_sec_desc(const struct smb_ntsd *pntsd, in copy_sec_desc() 519 struct smb_ntsd *pnntsd, in copy_sec_desc() 530 pnntsd->dacloffset = cpu_to_le32(sizeof(struct smb_ntsd)); in copy_sec_desc() 1252 static int build_sec_desc(struct smb_ntsd *pntsd, struct smb_ntsd *pnntsd, in build_sec_desc() 1282 ndacloffset = sizeof(struct smb_ntsd); in build_sec_desc() 1300 ndacloffset = sizeof(struct smb_ntsd); in build_sec_desc() 1392 struct smb_ntsd *pntsd = NULL; in get_cifs_acl_by_fid() 1416 struct smb_ntsd *pntsd = NULL; in get_cifs_acl_by_path() 1461 struct smb_ntsd *pntsd = NULL; in get_cifs_acl() 1475 int set_cifs_acl(struct smb_ntsd *pnntsd, __u32 acllen, in set_cifs_acl() [all …]
|
H A D | cifsproto.h | 236 extern struct smb_ntsd *get_cifs_acl(struct cifs_sb_info *cifssmb, struct inode *ino, 238 extern struct smb_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *cifssb, 244 extern int set_cifs_acl(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, 569 __u16 fid, struct smb_ntsd **acl_inf, __u32 *buflen); 571 struct smb_ntsd *pntsd, __u32 len, int aclflag);
|
H A D | xattr.c | 165 struct smb_ntsd *pacl; in cifs_xattr_set() 318 struct smb_ntsd *pacl; in cifs_xattr_get()
|
H A D | cifsglob.h | 538 struct smb_ntsd * (*get_acl)(struct cifs_sb_info *cifssb, struct inode *ino, 540 struct smb_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *cifssmb, 542 int (*set_acl)(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, const char *path,
|
H A D | smb2proto.h | 242 struct smb_ntsd *pnntsd, int pacllen, int aclflag);
|
H A D | smb2ops.c | 3059 static struct smb_ntsd * 3063 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_fid() 3088 static struct smb_ntsd * 3092 struct smb_ntsd *pntsd = NULL; in get_smb2_acl_by_path() 3155 set_smb2_acl(struct smb_ntsd *pnntsd, __u32 acllen, in set_smb2_acl() 3213 static struct smb_ntsd * 3218 struct smb_ntsd *pntsd = NULL; in get_smb2_acl()
|
H A D | cifssmb.c | 3430 struct smb_ntsd **acl_inf, __u32 *pbuflen) in CIFSSMBGetCIFSACL() 3500 if ((*pbuflen < sizeof(struct smb_ntsd) + 8) || in CIFSSMBGetCIFSACL() 3520 struct smb_ntsd *pntsd, __u32 acllen, int aclflag) in CIFSSMBSetCIFSACL()
|
H A D | smb2pdu.c | 5721 struct smb_ntsd *pnntsd, int pacllen, int aclflag) in SMB2_set_acl()
|
/linux/fs/smb/common/ |
H A D | smbacl.h | 88 struct smb_ntsd { struct
|