Searched refs:compare_sids (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/fs/cifs/ |
| D | cifsacl.c | 156 compare_sids(const struct cifs_sid *ctsid, const struct cifs_sid *cwsid) in compare_sids() function 810 (compare_sids(&(ppace[i]->sid), in parse_dacl() 822 if (compare_sids(&(ppace[i]->sid), pownersid) == 0) { in parse_dacl() 828 } else if (compare_sids(&(ppace[i]->sid), pgrpsid) == 0) { in parse_dacl() 834 } else if ((compare_sids(&(ppace[i]->sid), &sid_everyone) == 0) || in parse_dacl() 835 (compare_sids(&(ppace[i]->sid), &sid_authusers) == 0)) { in parse_dacl() 1055 if (pnownersid && compare_sids(&pntace->sid, pownersid) == 0) in replace_sids_and_copy_aces() 1057 else if (pngrpsid && compare_sids(&pntace->sid, pgrpsid) == 0) in replace_sids_and_copy_aces() 1116 if (((compare_sids(&pntace->sid, &sid_unix_NFS_mode) == 0) || in set_chmod_dacl() 1117 (compare_sids(&pntace->sid, pownersid) == 0) || in set_chmod_dacl() [all …]
|
| /Linux-v5.15/fs/ksmbd/ |
| D | smbacl.c | 70 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids() function 454 if (!(compare_sids(&ppace[i]->sid, &sid_unix_NFS_mode))) { in parse_dacl() 458 } else if (!compare_sids(&ppace[i]->sid, pownersid)) { in parse_dacl() 469 } else if (!compare_sids(&ppace[i]->sid, pgrpsid) || in parse_dacl() 481 } else if (!compare_sids(&ppace[i]->sid, &sid_everyone)) { in parse_dacl() 491 } else if (!compare_sids(&ppace[i]->sid, &creator_owner)) { in parse_dacl() 493 } else if (!compare_sids(&ppace[i]->sid, &creator_group)) { in parse_dacl() 495 } else if (!compare_sids(&ppace[i]->sid, &sid_authusers)) { in parse_dacl() 1042 if (!compare_sids(&creator_owner, &parent_aces->sid)) { in smb_inherit_dacl() 1046 } else if (!compare_sids(&creator_group, &parent_aces->sid)) { in smb_inherit_dacl() [all …]
|
| D | smbacl.h | 201 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
|