int acl_delete_fd_np(int filedes, acl_type_t type) { type = _acl_type_unold(type); return (___acl_delete_fd(filedes, type)); }
int acl_delete_link_np(const char *path_p, acl_type_t type) { type = _acl_type_unold(type); return (__acl_delete_link(path_p, type)); }
int acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl) { if (acl == NULL || path_p == NULL) { errno = EINVAL; return (-1); } type = _acl_type_unold(type); if (_acl_type_not_valid_for_acl(acl, type)) { errno = EINVAL; return (-1); } if (_posix1e_acl(acl, type)) _posix1e_acl_sort(acl); acl->ats_cur_entry = 0; return (__acl_set_link(path_p, type, &acl->ats_acl)); }
int acl_set_fd_np(int fd, acl_t acl, acl_type_t type) { if (acl == NULL) { errno = EINVAL; return (-1); } type = _acl_type_unold(type); if (_acl_type_not_valid_for_acl(acl, type)) { errno = EINVAL; return (-1); } if (_posix1e_acl(acl, type)) _posix1e_acl_sort(acl); acl->ats_cur_entry = 0; return (___acl_set_fd(fd, type, &acl->ats_acl)); }