acl_inp
cacl_get(acl_inp inp, int get_flag, int type, acl_t **aclp)
acl_inp acl_inp;
acl_inp.file = path;
return (cacl_get(acl_inp, get_flag, ACL_PATH, aclp));
acl_inp acl_inp;
acl_inp.fd = fd;
return (cacl_get(acl_inp, get_flag, ACL_FD, aclp));
cacl_set(acl_inp *acl_inp, acl_t *aclp, int type)
stat_error = stat64(acl_inp->file, &statbuf);
acl_flavor_target = pathconf(acl_inp->file, _PC_ACL_ENABLED);
stat_error = fstat64(acl_inp->fd, &statbuf);
acl_flavor_target = fpathconf(acl_inp->fd, _PC_ACL_ENABLED);
error = acl(acl_inp->file,
error = facl(acl_inp->fd,
acl_inp acl_inp;
acl_inp.file = path;
return (cacl_set(&acl_inp, aclp, ACL_PATH));
acl_inp acl_inp;
acl_inp.fd = fd;
return (cacl_set(&acl_inp, aclp, ACL_FD));