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

Function acl_sort

lib/sysacls.c:626–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624 */
625
626static int acl_sort(SMB_ACL_T acl_d)
627{
628 int fixmask = (acl_d->count <= 4);
629
630 if (aclsort(acl_d->count, fixmask, acl_d->acl) != 0) {
631 errno = EINVAL;
632 return -1;
633 }
634 return 0;
635}
636
637int sys_acl_valid(SMB_ACL_T acl_d)
638{

Callers 3

sys_acl_validFunction · 0.85
sys_acl_set_fileFunction · 0.85
sys_acl_set_fdFunction · 0.85

Calls 1

hpux_acl_sortFunction · 0.85

Tested by

no test coverage detected