Home
last modified time | relevance | path

Searched refs:dacl_ptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/fs/smb/client/
Dcifsacl.c1199 struct cifs_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() local
1211 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
1243 parse_dacl(dacl_ptr, end_of_acl, owner_sid_ptr, in parse_sec_desc()
1262 struct cifs_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc() local
1269 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in build_sec_desc()
1270 if (end_of_acl < (char *)dacl_ptr + le16_to_cpu(dacl_ptr->size)) { in build_sec_desc()
1285 dacloffset ? dacl_ptr->revision : cpu_to_le16(ACL_REVISION); in build_sec_desc()
1290 rc = set_chmod_dacl(dacl_ptr, ndacl_ptr, owner_sid_ptr, group_sid_ptr, in build_sec_desc()
1303 dacloffset ? dacl_ptr->revision : cpu_to_le16(ACL_REVISION); in build_sec_desc()
1304 ndacl_ptr->num_aces = dacl_ptr ? dacl_ptr->num_aces : 0; in build_sec_desc()
[all …]
/Linux-v6.6/fs/smb/server/
Dsmbacl.c816 struct smb_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() local
832 dacl_ptr = (struct smb_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
884 parse_dacl(idmap, dacl_ptr, end_of_acl, in parse_sec_desc()
901 struct smb_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc() local
947 dacl_ptr = (struct smb_acl *)((char *)pntsd + offset); in build_sec_desc()
948 dacl_ptr->revision = cpu_to_le16(2); in build_sec_desc()
949 dacl_ptr->size = cpu_to_le16(sizeof(struct smb_acl)); in build_sec_desc()
950 dacl_ptr->num_aces = 0; in build_sec_desc()
953 set_mode_dacl(idmap, dacl_ptr, fattr); in build_sec_desc()
969 set_ntacl_dacl(idmap, dacl_ptr, ppdacl_ptr, in build_sec_desc()
[all …]