| 624 | */ |
| 625 | |
| 626 | static 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 | |
| 637 | int sys_acl_valid(SMB_ACL_T acl_d) |
| 638 | { |
no test coverage detected