Searched refs:sid1 (Results 1 – 1 of 1) sorted by relevance
215 smb_sid_cmp(smb_sid_t *sid1, smb_sid_t *sid2) in smb_sid_cmp() argument219 if (sid1 == NULL || sid2 == NULL) in smb_sid_cmp()222 if (sid1->sid_subauthcnt != sid2->sid_subauthcnt || in smb_sid_cmp()223 sid1->sid_revision != sid2->sid_revision) in smb_sid_cmp()226 for (i = sid1->sid_subauthcnt - 1; i >= 0; --i) in smb_sid_cmp()227 if (sid1->sid_subauth[i] != sid2->sid_subauth[i]) in smb_sid_cmp()230 if (bcmp(&sid1->sid_authority, &sid2->sid_authority, NT_SID_AUTH_MAX)) in smb_sid_cmp()