MCPcopy Create free account
hub / github.com/RsyncProject/rsync / rsync_acl_equal

Function rsync_acl_equal

acls.c:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static BOOL rsync_acl_equal(const rsync_acl *racl1, const rsync_acl *racl2)
192{
193 return racl1->user_obj == racl2->user_obj
194 && racl1->group_obj == racl2->group_obj
195 && racl1->mask_obj == racl2->mask_obj
196 && racl1->other_obj == racl2->other_obj
197 && ida_entries_equal(&racl1->names, &racl2->names);
198}
199
200/* Are the extended (non-permission-bit) entries equal? If so, the rest of
201 * the ACL will be handled by the normal mode-preservation code. This is

Callers 2

find_matching_rsync_aclFunction · 0.85
set_aclFunction · 0.85

Calls 1

ida_entries_equalFunction · 0.85

Tested by

no test coverage detected