Home
last modified time | relevance | path

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

/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 …]
/fs/smb/server/
Dsmbacl.c819 struct smb_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc() local
835 dacl_ptr = (struct smb_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
887 parse_dacl(idmap, dacl_ptr, end_of_acl, in parse_sec_desc()
904 struct smb_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc() local
950 dacl_ptr = (struct smb_acl *)((char *)pntsd + offset); in build_sec_desc()
951 dacl_ptr->revision = cpu_to_le16(2); in build_sec_desc()
952 dacl_ptr->size = cpu_to_le16(sizeof(struct smb_acl)); in build_sec_desc()
953 dacl_ptr->num_aces = 0; in build_sec_desc()
956 set_mode_dacl(idmap, dacl_ptr, fattr); in build_sec_desc()
972 set_ntacl_dacl(idmap, dacl_ptr, ppdacl_ptr, in build_sec_desc()
[all …]