Home
last modified time | relevance | path

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

/freebsd/bin/setfacl/
H A Dsetfacl.c70 static acl_type_t acl_type = ACL_TYPE_ACCESS; variable
199 if (acl_type == ACL_TYPE_DEFAULT && file->fts_info != FTS_D) { in handle_file()
213 if (acl_type == ACL_TYPE_DEFAULT) { in handle_file()
218 acl_type = ACL_TYPE_NFS4; in handle_file()
220 if (acl_type == ACL_TYPE_NFS4) in handle_file()
221 acl_type = ACL_TYPE_ACCESS; in handle_file()
228 acl = acl_get_file(file->fts_accpath, acl_type); in handle_file()
230 acl = acl_get_link_np(file->fts_accpath, acl_type); in handle_file()
245 acl_type == ACL_TYPE_NFS4) in handle_file()
252 acl_type == ACL_TYPE_NFS4) in handle_file()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_002_pos.ksh119 typeset acl_type=$3
126 if [[ $acl_type == "allow" ]]; then
128 elif [[ $acl_type == "deny" ]]; then
152 typeset acl_type=$5
159 u_bits=$(cal_bits $u_bits $acl_access $acl_type)
162 g_bits=$(cal_bits $g_bits $acl_access $acl_type)
165 o_bits=$(cal_bits $o_bits $acl_access $acl_type)
183 typeset init_mask acl_flag acl_access acl_type
197 acl_type=$(form_random_str a_type)
199 typeset acl_spec=${acl_flag}@:${acl_access}:${acl_type}
[all …]
H A Dzfs_acl_chmod_compact_001_pos.ksh131 typeset acl_type=$5
160 tmp_ace=${tmp_ace}---:${acl_type}
162 tmp_ace=${tmp_ace}--:${acl_type}
179 typeset acl_type=$6
182 "$acl_inherit_object" "$acl_inherit_strategy" "$acl_type")
195 typeset acl_flag acl_access acl_inherit_object acl_inherit_strategy acl_type
207 acl_type=$(form_random_str a_type 1)
218 acl_spec=${acl_spec}:${acl_type}
237 "$acl_type"
/freebsd/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.c1071 int err, acl_type; in header_Solaris_ACL() local
1111 acl_type = ARCHIVE_ENTRY_ACL_TYPE_ACCESS; in header_Solaris_ACL()
1115 acl_type = ARCHIVE_ENTRY_ACL_TYPE_NFS4; in header_Solaris_ACL()
1150 tar->localname.s, acl_type, tar->sconv_acl); in header_Solaris_ACL()
/freebsd/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.c1679 enum macaddr_acl acl_type, in ap_ctrl_iface_acl_add_mac() argument
1689 hapd->conf->macaddr_acl = acl_type; in ap_ctrl_iface_acl_add_mac()
1691 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_add_mac()
1695 if (acl_type == DENY_UNLESS_ACCEPTED) in ap_ctrl_iface_acl_add_mac()
1705 enum macaddr_acl acl_type, in ap_ctrl_iface_acl_del_mac() argument
1715 hapd->conf->macaddr_acl = acl_type; in ap_ctrl_iface_acl_del_mac()
1717 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_del_mac()
1721 if (acl_type == DENY_UNLESS_ACCEPTED) in ap_ctrl_iface_acl_del_mac()
1731 enum macaddr_acl acl_type, char *buf, in ap_ctrl_iface_acl_show_mac() argument
1741 if (acl_type == ACCEPT_UNLESS_DENIED) in ap_ctrl_iface_acl_show_mac()
[all …]
/freebsd/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/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dacl_impl.h33 typedef enum acl_type { enum
39 acl_type_t acl_type; /* style of acl */ member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dacl_impl.h33 typedef enum acl_type { enum
39 zfs_acl_type_t acl_type; /* style of acl */ member
/freebsd/bin/mv/
H A Dmv.c440 acl_type_t acl_type; in preserve_fd_acls() local
446 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls()
456 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls()
466 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls()
480 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
/freebsd/bin/cp/
H A Dutils.c407 acl_type_t acl_type; in preserve_fd_acls() local
413 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls()
423 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls()
433 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls()
449 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dacl_common.c223 acl_alloc(enum acl_type type) in acl_alloc()
235 aclp->acl_type = ACE_T; in acl_alloc()
239 aclp->acl_type = ACLENT_T; in acl_alloc()
1463 if ((target_flavor == _ACL_ACE_ENABLED && aclp->acl_type == ACE_T) || in acl_translate()
1465 aclp->acl_type == ACLENT_T)) in acl_translate()
1474 aclp->acl_type == ACLENT_T) { in acl_translate()
1481 aclp->acl_type == ACE_T) { in acl_translate()
1498 aclp->acl_type = ACE_T; in acl_translate()
1501 aclp->acl_type = ACLENT_T; in acl_translate()
/freebsd/usr.bin/find/
H A Dfunction.c374 acl_type_t acl_type; in f_acl() local
382 acl_type = ACL_TYPE_NFS4; in f_acl()
391 acl_type = ACL_TYPE_ACCESS; in f_acl()
400 facl = acl_get_file(entry->fts_accpath, acl_type); in f_acl()