Searched refs:acl_type (Results 1 – 7 of 7) sorted by relevance
/netbsd/bin/setfacl/ |
H A D | setfacl.c | 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() 252 acl_type == ACL_TYPE_NFS4) in handle_file() 259 acl_type == ACL_TYPE_NFS4) in handle_file() 280 if (acl_type == ACL_TYPE_NFS4) { in handle_file() 292 if (acl_type == ACL_TYPE_DEFAULT) in handle_file() 322 if (acl_type == ACL_TYPE_DEFAULT && in handle_file() 366 acl_type = ACL_TYPE_ACCESS; in main() [all …]
|
/netbsd/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/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() 528 if (acl_set_fd_np(fd, acl, acl_type) == 0) in set_acl() 542 else if (acl_set_link_np(name, acl_type, acl) != 0) in set_acl() 545 else if (acl_set_file(name, acl_type, acl) != 0) in set_acl()
|
H A D | archive_disk_acl_linux.c | 461 int acl_type = 0; in set_acl() local 480 acl_type = ACL_TYPE_ACCESS; in set_acl() 483 acl_type = ACL_TYPE_DEFAULT; in set_acl() 578 } else if (acl_set_file(name, acl_type, acl) != 0) { in set_acl()
|
H A D | archive_read_support_format_tar.c | 961 int err, acl_type; in header_Solaris_ACL() local 1006 acl_type = ARCHIVE_ENTRY_ACL_TYPE_ACCESS; in header_Solaris_ACL() 1010 acl_type = ARCHIVE_ENTRY_ACL_TYPE_NFS4; in header_Solaris_ACL() 1041 tar->localname.s, acl_type, tar->sconv_acl); in header_Solaris_ACL()
|
/netbsd/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/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()
|