Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmbacl.c366 struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() argument
384 if (end_of_acl < (char *)pdacl + sizeof(struct smb_acl) || in parse_dacl()
385 end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl()
426 if (end_of_acl - acl_base < acl_size) in parse_dacl()
434 if (end_of_acl - acl_base < acl_size || in parse_dacl()
436 (end_of_acl - acl_base < in parse_dacl()
799 static int parse_sid(struct smb_sid *psid, char *end_of_acl) in parse_sid() argument
805 if (end_of_acl < (char *)psid + 8) { in parse_sid()
820 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc() local
851 rc = parse_sid(owner_sid_ptr, end_of_acl); in parse_sec_desc()
[all …]
/linux-6.12.1/fs/smb/client/
Dcifsacl.c726 static void dump_ace(struct smb_ace *pace, char *end_of_acl) in dump_ace() argument
737 if (end_of_acl < (char *)pace + le16_to_cpu(pace->size)) { in dump_ace()
761 static void parse_dacl(struct smb_acl *pdacl, char *end_of_acl, in parse_dacl() argument
781 if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) { in parse_dacl()
812 dump_ace(ppace[i], end_of_acl); in parse_dacl()
1159 static int parse_sid(struct smb_sid *psid, char *end_of_acl) in parse_sid() argument
1165 if (end_of_acl < (char *)psid + 8) { in parse_sid()
1200 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc() local
1217 rc = parse_sid(owner_sid_ptr, end_of_acl); in parse_sec_desc()
1229 rc = parse_sid(group_sid_ptr, end_of_acl); in parse_sec_desc()
[all …]