Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsacl.c156 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()
1058 if (pnownersid && compare_sids(&pntace->sid, pownersid) == 0) in replace_sids_and_copy_aces()
1060 else if (pngrpsid && compare_sids(&pntace->sid, pgrpsid) == 0) in replace_sids_and_copy_aces()
1119 if (((compare_sids(&pntace->sid, &sid_unix_NFS_mode) == 0) || in set_chmod_dacl()
1120 (compare_sids(&pntace->sid, pownersid) == 0) || in set_chmod_dacl()
[all …]
/linux-6.1.9/fs/ksmbd/
Dsmbacl.c71 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids() function
443 if (!(compare_sids(&ppace[i]->sid, &sid_unix_NFS_mode))) { in parse_dacl()
447 } else if (!compare_sids(&ppace[i]->sid, pownersid)) { in parse_dacl()
458 } else if (!compare_sids(&ppace[i]->sid, pgrpsid) || in parse_dacl()
470 } else if (!compare_sids(&ppace[i]->sid, &sid_everyone)) { in parse_dacl()
480 } else if (!compare_sids(&ppace[i]->sid, &creator_owner)) { in parse_dacl()
482 } else if (!compare_sids(&ppace[i]->sid, &creator_group)) { in parse_dacl()
484 } else if (!compare_sids(&ppace[i]->sid, &sid_authusers)) { in parse_dacl()
1071 if (!compare_sids(&creator_owner, &parent_aces->sid)) { in smb_inherit_dacl()
1075 } else if (!compare_sids(&creator_group, &parent_aces->sid)) { in smb_inherit_dacl()
[all …]
Dsmbacl.h202 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);