Searched refs:acl_type (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/bin/setfacl/ |
| H A D | setfacl.c | 77 static acl_type_t acl_type = ACL_TYPE_ACCESS; variable 206 if (acl_type == ACL_TYPE_DEFAULT && file->fts_info != FTS_D) { in handle_file() 220 if (acl_type == ACL_TYPE_DEFAULT) { in handle_file() 225 acl_type = ACL_TYPE_NFS4; in handle_file() 227 if (acl_type == ACL_TYPE_NFS4) in handle_file() 228 acl_type = ACL_TYPE_ACCESS; in handle_file() 235 acl = acl_get_file(file->fts_accpath, acl_type); in handle_file() 237 acl = acl_get_link_np(file->fts_accpath, acl_type); in handle_file() 252 acl_type == ACL_TYPE_NFS4) in handle_file() 259 acl_type == ACL_TYPE_NFS4) in handle_file() [all …]
|
| /netbsd-src/bin/cp/ |
| H A D | utils.c | 420 acl_type_t acl_type; in preserve_fd_acls() local 426 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls() 435 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls() 445 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls() 459 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls() 475 acl_type_t acl_type; in preserve_dir_acls() local 481 acl_type = ACL_TYPE_NFS4; in preserve_dir_acls() 490 acl_type = ACL_TYPE_ACCESS; in preserve_dir_acls() 510 if (acl_type == ACL_TYPE_ACCESS) { in preserve_dir_acls() 532 acl = aclgetf(source_dir, acl_type); in preserve_dir_acls() [all …]
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_disk_acl_freebsd.c | 112 acl_entry_type_t acl_type; in translate_acl() local 227 if (acl_get_entry_type_np(acl_entry, &acl_type) != 0) { in translate_acl() 232 switch (acl_type) { in translate_acl() 325 int acl_type = 0; in set_acl() local 351 acl_type = ACL_TYPE_ACCESS; in set_acl() 354 acl_type = ACL_TYPE_DEFAULT; in set_acl() 358 acl_type = ACL_TYPE_NFS4; in set_acl() 367 if (acl_type == ACL_TYPE_DEFAULT && !S_ISDIR(mode)) { in set_acl() 535 if (acl_set_fd_np(fd, acl, acl_type) == 0) in set_acl() 549 else if (acl_set_link_np(name, acl_type, acl) != 0) in set_acl() [all …]
|
| H A D | archive_disk_acl_linux.c | 466 int acl_type = 0; in set_acl() local 485 acl_type = ACL_TYPE_ACCESS; in set_acl() 488 acl_type = ACL_TYPE_DEFAULT; in set_acl() 501 if (acl_type == ACL_TYPE_DEFAULT && !S_ISDIR(mode)) { in set_acl() 595 } else if (acl_set_file(name, acl_type, acl) != 0) { in set_acl()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
| H A D | acl_impl.h | 44 typedef enum acl_type { enum 50 zfs_acl_type_t acl_type; /* style of acl */ member
|
| /netbsd-src/external/cddl/osnet/dist/common/acl/ |
| H A D | acl_common.c | 267 acl_alloc(enum acl_type type) in acl_alloc() 279 aclp->acl_type = ACE_T; in acl_alloc() 283 aclp->acl_type = ACLENT_T; in acl_alloc() 1515 if ((target_flavor == _ACL_ACE_ENABLED && aclp->acl_type == ACE_T) || in acl_translate() 1517 aclp->acl_type == ACLENT_T)) in acl_translate() 1526 aclp->acl_type == ACLENT_T) { in acl_translate() 1533 aclp->acl_type == ACE_T) { in acl_translate() 1550 aclp->acl_type = ACE_T; in acl_translate() 1553 aclp->acl_type = ACLENT_T; in acl_translate()
|