Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmbacl.c959 unsigned int dacl_offset = le32_to_cpu(ppntsd->dacloffset); in build_sec_desc() local
960 int ppdacl_size, ntacl_size = ppntsd_size - dacl_offset; in build_sec_desc()
962 if (!dacl_offset || in build_sec_desc()
963 (dacl_offset + sizeof(struct smb_acl) > ppntsd_size)) in build_sec_desc()
966 ppdacl_ptr = (struct smb_acl *)((char *)ppntsd + dacl_offset); in build_sec_desc()
1222 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local
1239 dacl_offset = le32_to_cpu(pntsd->dacloffset); in smb_check_perm_dacl()
1240 if (!dacl_offset || in smb_check_perm_dacl()
1241 (dacl_offset + sizeof(struct smb_acl) > pntsd_size)) in smb_check_perm_dacl()
1245 acl_size = pntsd_size - dacl_offset; in smb_check_perm_dacl()