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

/freebsd-11-stable/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-11-stable/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-11-stable/bin/cp/
H A Dutils.c413 acl_type_t acl_type; local
419 acl_type = ACL_TYPE_NFS4;
428 acl_type = ACL_TYPE_ACCESS;
438 acl = acl_get_fd_np(source_fd, acl_type);
452 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
468 acl_type_t acl_type; local
474 acl_type = ACL_TYPE_NFS4;
483 acl_type = ACL_TYPE_ACCESS;
503 if (acl_type == ACL_TYPE_ACCESS) {
525 acl = aclgetf(source_dir, acl_type);
[all...]
/freebsd-11-stable/contrib/libarchive/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_read_support_format_tar.c961 int err, acl_type; local
1006 acl_type = ARCHIVE_ENTRY_ACL_TYPE_ACCESS;
1010 acl_type = ARCHIVE_ENTRY_ACL_TYPE_NFS4;
1041 tar->localname.s, acl_type, tar->sconv_acl);
/freebsd-11-stable/bin/mv/
H A Dmv.c456 acl_type_t acl_type; local
462 acl_type = ACL_TYPE_NFS4;
472 acl_type = ACL_TYPE_ACCESS;
482 acl = acl_get_fd_np(source_fd, acl_type);
496 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
/freebsd-11-stable/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-11-stable/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 123 milliseconds