Lines Matching defs:error
103 int error;
171 error = acl(fname, getcmd, acl_info->acl_cnt,
175 error = facl(fd, getcmd, acl_info->acl_cnt,
180 if (error == -1) {
248 int error = 0;
268 * If target returns an error or 0 from pathconf call then
280 if ((error = acl_translate(aclp, acl_flavor_target, isdir,
282 return (error);
286 error = acl(acl_inp->file,
290 error = facl(acl_inp->fd,
295 return (error);
391 int error = 0;
427 error = acl(file, SETACL, aclcnt, min_acl);
429 if ((error = acl_trivial_create(dir, mode, &min_ace_acl,
431 return (error);
432 error = acl(file, ACE_SETACL, aclcnt, min_ace_acl);
436 error = 1;
439 if (error == 0)
440 error = chown(file, owner, group);
441 return (error);
618 * but anything greater is an error.
656 * return text for an ACL error.
682 "Memory error"));
727 return (dgettext(TEXT_DOMAIN, "Unknown error"));
754 int error = 1;
769 error = idmap_get_uidbysid(get_hdl,
773 error = idmap_get_gidbysid(get_hdl,
776 if (error == IDMAP_SUCCESS) {
777 error = idmap_get_mappings(get_hdl);
778 if (error == IDMAP_SUCCESS &&
780 error = 1;
782 error = 0;
785 error = 1;
790 error = 1;
798 error = idmap_getuidbywinname(name, domain_start,
801 error = idmap_getgidbywinname(name, domain_start,
804 error = (error == IDMAP_SUCCESS) ? 0 : 1;
807 return (error);