Home
last modified time | relevance | path

Searched refs:acl_type (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/bin/setfacl/
H A Dsetfacl.c212 if (acl_type == ACL_TYPE_DEFAULT) { in handle_file()
217 acl_type = ACL_TYPE_NFS4; in handle_file()
219 if (acl_type == ACL_TYPE_NFS4) in handle_file()
220 acl_type = ACL_TYPE_ACCESS; in handle_file()
244 acl_type == ACL_TYPE_NFS4) in handle_file()
251 acl_type == ACL_TYPE_NFS4) in handle_file()
272 if (acl_type == ACL_TYPE_NFS4) { in handle_file()
284 if (acl_type == ACL_TYPE_DEFAULT) in handle_file()
314 if (acl_type == ACL_TYPE_DEFAULT && in handle_file()
358 acl_type = ACL_TYPE_ACCESS; in main()
[all …]
/freebsd-14.2/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_002_pos.ksh122 typeset acl_type=$3
129 if [[ $acl_type == "allow" ]]; then
131 elif [[ $acl_type == "deny" ]]; then
155 typeset acl_type=$5
162 u_bits=$(cal_bits $u_bits $acl_access $acl_type)
165 g_bits=$(cal_bits $g_bits $acl_access $acl_type)
168 o_bits=$(cal_bits $o_bits $acl_access $acl_type)
186 typeset init_mask acl_flag acl_access acl_type
200 acl_type=$(form_random_str a_type)
202 typeset acl_spec=${acl_flag}@:${acl_access}:${acl_type}
[all …]
H A Dzfs_acl_chmod_compact_001_pos.ksh134 typeset acl_type=$5
163 tmp_ace=${tmp_ace}---:${acl_type}
165 tmp_ace=${tmp_ace}--:${acl_type}
182 typeset acl_type=$6
185 "$acl_inherit_object" "$acl_inherit_strategy" "$acl_type")
198 typeset acl_flag acl_access acl_inherit_object acl_inherit_strategy acl_type
210 acl_type=$(form_random_str a_type 1)
221 acl_spec=${acl_spec}:${acl_type}
240 "$acl_type"
/freebsd-14.2/bin/cp/
H A Dutils.c396 acl_type_t acl_type; in preserve_fd_acls() local
402 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls()
411 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls()
421 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls()
435 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
451 acl_type_t acl_type; in preserve_dir_acls() local
457 acl_type = ACL_TYPE_NFS4; in preserve_dir_acls()
466 acl_type = ACL_TYPE_ACCESS; in preserve_dir_acls()
486 if (acl_type == ACL_TYPE_ACCESS) { in preserve_dir_acls()
508 acl = aclgetf(source_dir, acl_type); in preserve_dir_acls()
[all …]
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_disk_acl_freebsd.c112 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 Darchive_read_support_format_tar.c1040 int err, acl_type; in header_Solaris_ACL() local
1081 acl_type = ARCHIVE_ENTRY_ACL_TYPE_ACCESS; in header_Solaris_ACL()
1085 acl_type = ARCHIVE_ENTRY_ACL_TYPE_NFS4; in header_Solaris_ACL()
1120 tar->localname.s, acl_type, tar->sconv_acl); in header_Solaris_ACL()
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dacl_impl.h42 typedef enum acl_type { enum
48 zfs_acl_type_t acl_type; /* style of acl */ member
/freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dacl_impl.h42 typedef enum acl_type { enum
48 acl_type_t acl_type; /* style of acl */ member
/freebsd-14.2/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
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dap.h49 enum macaddr_acl acl_type, const char *buf);
51 enum macaddr_acl acl_type, const char *buf);
53 enum macaddr_acl acl_type, char *buf,
56 enum macaddr_acl acl_type);
H A Dap.c1661 enum macaddr_acl acl_type, in ap_ctrl_iface_acl_add_mac() argument
1671 hapd->conf->macaddr_acl = acl_type; in ap_ctrl_iface_acl_add_mac()
1673 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_add_mac()
1677 if (acl_type == DENY_UNLESS_ACCEPTED) in ap_ctrl_iface_acl_add_mac()
1687 enum macaddr_acl acl_type, in ap_ctrl_iface_acl_del_mac() argument
1697 hapd->conf->macaddr_acl = acl_type; in ap_ctrl_iface_acl_del_mac()
1699 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_del_mac()
1703 if (acl_type == DENY_UNLESS_ACCEPTED) in ap_ctrl_iface_acl_del_mac()
1723 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_show_mac()
1737 enum macaddr_acl acl_type) in ap_ctrl_iface_acl_clear_list() argument
[all …]
/freebsd-14.2/bin/mv/
H A Dmv.c457 acl_type_t acl_type; in preserve_fd_acls() local
463 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls()
473 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls()
483 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls()
497 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dacl_common.c232 acl_alloc(enum acl_type type) in acl_alloc()
244 aclp->acl_type = ACE_T; in acl_alloc()
248 aclp->acl_type = ACLENT_T; in acl_alloc()
1480 if ((target_flavor == _ACL_ACE_ENABLED && aclp->acl_type == ACE_T) || in acl_translate()
1482 aclp->acl_type == ACLENT_T)) in acl_translate()
1491 aclp->acl_type == ACLENT_T) { in acl_translate()
1498 aclp->acl_type == ACE_T) { in acl_translate()
1515 aclp->acl_type = ACE_T; in acl_translate()
1518 aclp->acl_type = ACLENT_T; in acl_translate()
/freebsd-14.2/usr.bin/find/
H A Dfunction.c375 acl_type_t acl_type; in f_acl() local
383 acl_type = ACL_TYPE_NFS4; in f_acl()
392 acl_type = ACL_TYPE_ACCESS; in f_acl()
401 facl = acl_get_file(entry->fts_accpath, acl_type); in f_acl()