Searched refs:acl_type (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dacl_impl.h44 typedef enum acl_type { enum
50 zfs_acl_type_t acl_type; /* style of acl */ member in struct:acl_info
/freebsd-10.0-release/bin/setfacl/
H A Dsetfacl.c104 acl_type_t acl_type; local
115 acl_type = ACL_TYPE_ACCESS;
163 acl_type = ACL_TYPE_DEFAULT;
238 if (acl_type == ACL_TYPE_DEFAULT && S_ISDIR(sb.st_mode) == 0) {
250 if (acl_type == ACL_TYPE_DEFAULT) {
256 acl_type = ACL_TYPE_NFS4;
258 if (acl_type == ACL_TYPE_NFS4)
259 acl_type = ACL_TYPE_ACCESS;
266 acl = acl_get_link_np(file->filename, acl_type);
268 acl = acl_get_file(file->filename, acl_type);
[all...]
/freebsd-10.0-release/bin/cp/
H A Dutils.c398 acl_type_t acl_type; local
404 acl_type = ACL_TYPE_NFS4;
413 acl_type = ACL_TYPE_ACCESS;
423 acl = acl_get_fd_np(source_fd, acl_type);
437 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
453 acl_type_t acl_type; local
459 acl_type = ACL_TYPE_NFS4;
468 acl_type = ACL_TYPE_ACCESS;
488 if (acl_type == ACL_TYPE_ACCESS) {
510 acl = aclgetf(source_dir, acl_type);
[all...]
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_disk_acl.c128 acl_type_t acl_type, int ae_requested_type, const char *tname)
224 if (fd >= 0 && acl_type == ACL_TYPE_ACCESS && acl_set_fd(fd, acl) == 0)
229 if (fd >= 0 && acl_set_fd_np(fd, acl, acl_type) == 0)
235 if (acl_set_link_np(name, acl_type, acl) != 0) {
241 if (acl_set_file(name, acl_type, acl) != 0) {
126 set_acl(struct archive *a, int fd, const char *name, struct archive_acl *abstract_acl, acl_type_t acl_type, int ae_requested_type, const char *tname) argument
H A Darchive_read_disk_entry_from_file.c528 acl_entry_type_t acl_type; local
607 r = acl_get_entry_type_np(acl_entry, &acl_type);
609 switch (acl_type) {
/freebsd-10.0-release/bin/mv/
H A Dmv.c447 acl_type_t acl_type; local
453 acl_type = ACL_TYPE_NFS4;
463 acl_type = ACL_TYPE_ACCESS;
473 acl = acl_get_fd_np(source_fd, acl_type);
487 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/acl/
H A Dacl_common.c267 acl_alloc(enum acl_type type)
279 aclp->acl_type = ACE_T;
283 aclp->acl_type = ACLENT_T;
1515 if ((target_flavor == _ACL_ACE_ENABLED && aclp->acl_type == ACE_T) ||
1517 aclp->acl_type == ACLENT_T))
1526 aclp->acl_type == ACLENT_T) {
1533 aclp->acl_type == ACE_T) {
1550 aclp->acl_type = ACE_T;
1553 aclp->acl_type = ACLENT_T;
/freebsd-10.0-release/usr.bin/find/
H A Dfunction.c372 acl_type_t acl_type; local
380 acl_type = ACL_TYPE_NFS4;
389 acl_type = ACL_TYPE_ACCESS;
398 facl = acl_get_file(entry->fts_accpath, acl_type);

Completed in 100 milliseconds