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

/netbsd-current/external/cddl/osnet/dist/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
/netbsd-current/bin/setfacl/
H A Dsetfacl.c77 static acl_type_t acl_type = ACL_TYPE_ACCESS; variable
206 if (acl_type == ACL_TYPE_DEFAULT && file->fts_info != FTS_D) {
220 if (acl_type == ACL_TYPE_DEFAULT) {
225 acl_type = ACL_TYPE_NFS4;
227 if (acl_type == ACL_TYPE_NFS4)
228 acl_type = ACL_TYPE_ACCESS;
235 acl = acl_get_file(file->fts_accpath, acl_type);
237 acl = acl_get_link_np(file->fts_accpath, acl_type);
252 acl_type == ACL_TYPE_NFS4)
259 acl_type
[all...]
/netbsd-current/bin/cp/
H A Dutils.c420 acl_type_t acl_type; local
426 acl_type = ACL_TYPE_NFS4;
435 acl_type = ACL_TYPE_ACCESS;
445 acl = acl_get_fd_np(source_fd, acl_type);
459 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
475 acl_type_t acl_type; local
481 acl_type = ACL_TYPE_NFS4;
490 acl_type = ACL_TYPE_ACCESS;
510 if (acl_type == ACL_TYPE_ACCESS) {
532 acl = aclgetf(source_dir, acl_type);
[all...]
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_disk_acl_freebsd.c112 acl_entry_type_t acl_type; local
219 // XXX acl_type maps to allow/deny/audit/YYYY bits
227 if (acl_get_entry_type_np(acl_entry, &acl_type) != 0) {
232 switch (acl_type) {
325 int acl_type = 0; local
351 acl_type = ACL_TYPE_ACCESS;
354 acl_type = ACL_TYPE_DEFAULT;
358 acl_type = ACL_TYPE_NFS4;
367 if (acl_type == ACL_TYPE_DEFAULT && !S_ISDIR(mode)) {
535 if (acl_set_fd_np(fd, acl, acl_type)
[all...]
H A Darchive_disk_acl_linux.c177 // XXX acl_type maps to allow/deny/audit/YYYY bits
466 int acl_type = 0; local
485 acl_type = ACL_TYPE_ACCESS;
488 acl_type = ACL_TYPE_DEFAULT;
501 if (acl_type == ACL_TYPE_DEFAULT && !S_ISDIR(mode)) {
595 } else if (acl_set_file(name, acl_type, acl) != 0) {
H A Darchive_read_support_format_tar.c963 int err, acl_type; local
1008 acl_type = ARCHIVE_ENTRY_ACL_TYPE_ACCESS;
1012 acl_type = ARCHIVE_ENTRY_ACL_TYPE_NFS4;
1043 tar->localname.s, acl_type, tar->sconv_acl);
/netbsd-current/external/cddl/osnet/dist/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;

Completed in 226 milliseconds