Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsacl.c1194 struct cifs_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() local
1206 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
1238 parse_dacl(dacl_ptr, end_of_acl, owner_sid_ptr, in parse_sec_desc()
1257 struct cifs_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc() local
1264 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in build_sec_desc()
1265 if (end_of_acl < (char *)dacl_ptr + le16_to_cpu(dacl_ptr->size)) { in build_sec_desc()
1280 dacloffset ? dacl_ptr->revision : cpu_to_le16(ACL_REVISION); in build_sec_desc()
1285 rc = set_chmod_dacl(dacl_ptr, ndacl_ptr, owner_sid_ptr, group_sid_ptr, in build_sec_desc()
1298 dacloffset ? dacl_ptr->revision : cpu_to_le16(ACL_REVISION); in build_sec_desc()
1299 ndacl_ptr->num_aces = dacl_ptr ? dacl_ptr->num_aces : 0; in build_sec_desc()
[all …]
/linux-6.1.9/fs/ksmbd/
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(user_ns, 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(user_ns, dacl_ptr, fattr); in build_sec_desc()
969 set_ntacl_dacl(user_ns, dacl_ptr, ppdacl_ptr, in build_sec_desc()
[all …]