| 578 | } |
| 579 | |
| 580 | struct acl * |
| 581 | acl_alloc(int flags) |
| 582 | { |
| 583 | struct acl *aclp; |
| 584 | |
| 585 | aclp = malloc(sizeof(*aclp), M_ACL, flags); |
| 586 | if (aclp == NULL) |
| 587 | return (NULL); |
| 588 | |
| 589 | aclp->acl_maxcnt = ACL_MAX_ENTRIES; |
| 590 | |
| 591 | return (aclp); |
| 592 | } |
| 593 | |
| 594 | void |
| 595 | acl_free(struct acl *aclp) |
no test coverage detected