acl_dup - make a copy of an ACL
Returns a pointer to an allocated ACL that is a copy of the ACL supplied as an argument.
Returns a pointer or null.
EINVAL
ENOMEM allocation of the struct acl failed.