Searched refs:acl_type (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/bin/setfacl/ |
| H A D | setfacl.c | 214 if (acl_type == ACL_TYPE_DEFAULT) { in handle_file() 219 acl_type = ACL_TYPE_NFS4; in handle_file() 221 if (acl_type == ACL_TYPE_NFS4) in handle_file() 222 acl_type = ACL_TYPE_ACCESS; in handle_file() 246 acl_type == ACL_TYPE_NFS4) in handle_file() 253 acl_type == ACL_TYPE_NFS4) in handle_file() 274 if (acl_type == ACL_TYPE_NFS4) { in handle_file() 286 if (acl_type == ACL_TYPE_DEFAULT) in handle_file() 316 if (acl_type == ACL_TYPE_DEFAULT && in handle_file() 360 acl_type = ACL_TYPE_ACCESS; in main() [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
| H A D | zfs_acl_chmod_rwx_002_pos.ksh | 124 typeset acl_type=$3 131 if [[ $acl_type == "allow" ]]; then 133 elif [[ $acl_type == "deny" ]]; then 157 typeset acl_type=$5 164 u_bits=$(cal_bits $u_bits $acl_access $acl_type) 167 g_bits=$(cal_bits $g_bits $acl_access $acl_type) 170 o_bits=$(cal_bits $o_bits $acl_access $acl_type) 188 typeset init_mask acl_flag acl_access acl_type 202 acl_type=$(form_random_str a_type) 204 typeset acl_spec=${acl_flag}@:${acl_access}:${acl_type} [all …]
|
| H A D | zfs_acl_chmod_compact_001_pos.ksh | 136 typeset acl_type=$5 165 tmp_ace=${tmp_ace}---:${acl_type} 167 tmp_ace=${tmp_ace}--:${acl_type} 184 typeset acl_type=$6 187 "$acl_inherit_object" "$acl_inherit_strategy" "$acl_type") 200 typeset acl_flag acl_access acl_inherit_object acl_inherit_strategy acl_type 212 acl_type=$(form_random_str a_type 1) 223 acl_spec=${acl_spec}:${acl_type} 242 "$acl_type"
|
| /freebsd-12.1/bin/cp/ |
| H A D | utils.c | 415 acl_type_t acl_type; in preserve_fd_acls() local 421 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls() 430 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls() 440 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls() 454 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls() 470 acl_type_t acl_type; in preserve_dir_acls() local 476 acl_type = ACL_TYPE_NFS4; in preserve_dir_acls() 485 acl_type = ACL_TYPE_ACCESS; in preserve_dir_acls() 505 if (acl_type == ACL_TYPE_ACCESS) { in preserve_dir_acls() 527 acl = aclgetf(source_dir, acl_type); in preserve_dir_acls() [all …]
|
| /freebsd-12.1/contrib/libarchive/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_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()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/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
|
| /freebsd-12.1/bin/mv/ |
| H A D | mv.c | 458 acl_type_t acl_type; in preserve_fd_acls() local 464 acl_type = ACL_TYPE_NFS4; in preserve_fd_acls() 474 acl_type = ACL_TYPE_ACCESS; in preserve_fd_acls() 484 acl = acl_get_fd_np(source_fd, acl_type); in preserve_fd_acls() 498 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/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()
|
| /freebsd-12.1/usr.bin/find/ |
| H A D | function.c | 377 acl_type_t acl_type; in f_acl() local 385 acl_type = ACL_TYPE_NFS4; in f_acl() 394 acl_type = ACL_TYPE_ACCESS; in f_acl() 403 facl = acl_get_file(entry->fts_accpath, acl_type); in f_acl()
|