Lines Matching +defs:val +defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 const char *file;
54 * Determine whether a file has a trivial ACL
65 int val = 0;
87 val = ace_trivial(acep, aclcnt);
91 val = 1;
93 return (val);
112 fname = inp.file;
227 acl_inp.file = path;
256 stat_error = stat64(acl_inp->file, &statbuf);
259 acl_flavor_target = pathconf(acl_inp->file, _PC_ACL_ENABLED);
272 * a file system that is using fs_pathconf() and not answering
286 error = acl(acl_inp->file,
303 acl_inp.file = path;
384 * Remove an ACL from a file and create a trivial ACL based
389 acl_strip(const char *file, uid_t owner, gid_t group, mode_t mode)
399 if (stat64(file, &statbuf) != 0)
404 acl_flavor = pathconf(file, _PC_ACL_ENABLED);
407 * force it through aclent flavor when file system doesn't
427 error = acl(file, SETACL, aclcnt, min_acl);
432 error = acl(file, ACE_SETACL, aclcnt, min_ace_acl);
440 error = chown(file, owner, group);
706 "Different file system ACL types cannot be merged"));