Home
last modified time | relevance | path

Searched refs:smb_acl (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/fs/smb/server/
H A Dsmbacl.c400 acl_size = sizeof(struct smb_acl); in parse_dacl()
704 struct smb_acl *pndacl, in set_ntacl_dacl()
705 struct smb_acl *nt_dacl, in set_ntacl_dacl()
982 struct smb_acl *ppdacl_ptr; in build_sec_desc()
993 ppdacl_size < sizeof(struct smb_acl)) in build_sec_desc()
997 ntacl_size - sizeof(struct smb_acl), in build_sec_desc()
1028 struct smb_acl *parent_pdacl; in smb_inherit_dacl()
1074 sizeof(struct smb_acl)); in smb_inherit_dacl()
1075 aces_size = acl_len - sizeof(struct smb_acl); in smb_inherit_dacl()
1141 struct smb_acl *pdacl; in smb_inherit_dacl()
[all …]
H A Dvfs.c1388 struct xattr_smb_acl *smb_acl = NULL; in ksmbd_vfs_make_xattr_posix_acl() local
1401 smb_acl = kzalloc(sizeof(struct xattr_smb_acl) + in ksmbd_vfs_make_xattr_posix_acl()
1404 if (!smb_acl) in ksmbd_vfs_make_xattr_posix_acl()
1407 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl()
1409 xa_entry = smb_acl->entries; in ksmbd_vfs_make_xattr_posix_acl()
1446 return smb_acl; in ksmbd_vfs_make_xattr_posix_acl()
1458 struct xattr_smb_acl *smb_acl, *def_smb_acl = NULL; in ksmbd_vfs_set_sd_xattr() local
1485 smb_acl = ksmbd_vfs_make_xattr_posix_acl(idmap, inode, in ksmbd_vfs_set_sd_xattr()
1492 smb_acl, def_smb_acl); in ksmbd_vfs_set_sd_xattr()
1520 kfree(smb_acl); in ksmbd_vfs_set_sd_xattr()
[all …]
H A Dsmb2pdu.c3378 sizeof(struct smb_acl) + in smb2_open()
/linux-6.15/fs/smb/client/
H A Dcifsacl.c781 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl()
797 acl_size = sizeof(struct smb_acl); in parse_dacl()
1064 static __u16 replace_sids_and_copy_aces(struct smb_acl *pdacl, struct smb_acl *pndacl, in replace_sids_and_copy_aces()
1079 size = sizeof(struct smb_acl); in replace_sids_and_copy_aces()
1083 nsize = sizeof(struct smb_acl); in replace_sids_and_copy_aces()
1104 static int set_chmod_dacl(struct smb_acl *pdacl, struct smb_acl *pndacl, in set_chmod_dacl()
1121 nsize = sizeof(struct smb_acl); in set_chmod_dacl()
1133 size = sizeof(struct smb_acl); in set_chmod_dacl()
1226 struct smb_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc()
1238 dacl_ptr = (struct smb_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
[all …]
H A Dcifsacl.h30 sizeof(struct smb_acl) + \
/linux-6.15/fs/smb/common/
H A Dsmbacl.h107 struct smb_acl { struct