/freebsd/sys/kern/ |
H A D | subr_acl_posix1e.c | 128 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e() 180 if (acl_mask->ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e() 182 if (acl_mask->ae_perm & ACL_READ) in vaccess_acl_posix1e() 184 if (acl_mask->ae_perm & ACL_WRITE) in vaccess_acl_posix1e() 202 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e() 236 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e() 336 if (acl_other->ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e() 338 if (acl_other->ae_perm & ACL_READ) in vaccess_acl_posix1e() 340 if (acl_other->ae_perm & ACL_WRITE) in vaccess_acl_posix1e() 458 if (acl_other_entry->ae_perm & ACL_READ) in acl_posix1e_perms_to_mode() [all …]
|
H A D | subr_acl_nfs4.c | 308 if (entry->ae_perm != perm) in _acl_entry_matches() 334 entry->ae_perm = perm; in _acl_append() 490 if (previous->ae_perm & ~(entry->ae_perm)) in acl_nfs4_sync_acl_from_mode_draft() 514 previous->ae_perm = 0; in acl_nfs4_sync_acl_from_mode_draft() 587 entry->ae_perm &= in acl_nfs4_sync_acl_from_mode_draft() 589 previous->ae_perm &= in acl_nfs4_sync_acl_from_mode_draft() 672 a2->ae_perm |= ACL_EXECUTE; in acl_nfs4_sync_acl_from_mode_draft() 674 a1->ae_perm |= ACL_EXECUTE; in acl_nfs4_sync_acl_from_mode_draft() 685 a4->ae_perm |= ACL_EXECUTE; in acl_nfs4_sync_acl_from_mode_draft() 1113 entry->ae_perm &= in acl_nfs4_inherit_entries() [all …]
|
H A D | vfs_acl.c | 97 dest->acl_entry[i].ae_perm = source->acl_entry[i].ae_perm; in acl_copy_oldacl_into_acl() 118 dest->acl_entry[i].ae_perm = source->acl_entry[i].ae_perm; in acl_copy_acl_into_oldacl()
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_equiv_mode_np.c | 61 if ((entry->ae_perm & ACL_PERM_BITS) != entry->ae_perm) in acl_equiv_mode_np() 66 if (entry->ae_perm & ACL_READ) in acl_equiv_mode_np() 68 if (entry->ae_perm & ACL_WRITE) in acl_equiv_mode_np() 70 if (entry->ae_perm & ACL_EXECUTE) in acl_equiv_mode_np() 74 if (entry->ae_perm & ACL_READ) in acl_equiv_mode_np() 76 if (entry->ae_perm & ACL_WRITE) in acl_equiv_mode_np() 78 if (entry->ae_perm & ACL_EXECUTE) in acl_equiv_mode_np() 82 if (entry->ae_perm & ACL_READ) in acl_equiv_mode_np() 84 if (entry->ae_perm & ACL_WRITE) in acl_equiv_mode_np() 86 if (entry->ae_perm & ACL_EXECUTE) in acl_equiv_mode_np()
|
H A D | acl_to_text.c | 65 acl_perm_t ae_perm, effective_perm, mask_perm; in _posix1e_acl_to_text() local 76 mask_perm = acl_int->acl_entry[i].ae_perm; in _posix1e_acl_to_text() 81 ae_perm = acl_int->acl_entry[i].ae_perm; in _posix1e_acl_to_text() 85 error = _posix1e_acl_perm_to_string(ae_perm, in _posix1e_acl_to_text() 98 error = _posix1e_acl_perm_to_string(ae_perm, in _posix1e_acl_to_text() 108 effective_perm = ae_perm & mask_perm; in _posix1e_acl_to_text() 109 if (effective_perm != ae_perm) { in _posix1e_acl_to_text() 136 effective_perm = ae_perm & mask_perm; in _posix1e_acl_to_text() 137 if (effective_perm != ae_perm) { in _posix1e_acl_to_text() 168 effective_perm = ae_perm & mask_perm; in _posix1e_acl_to_text() [all …]
|
H A D | acl_calc_mask.c | 91 acl_int_new->acl_entry[i].ae_perm & ACL_PERM_BITS; in acl_calc_mask() 101 acl_int_new->acl_entry[mask_num].ae_perm = mask_mode; in acl_calc_mask() 113 acl_int_new->acl_entry[acl_int_new->acl_cnt].ae_perm = in acl_calc_mask()
|
H A D | acl_support.c | 72 entrya->ae_perm != entryb->ae_perm || in _acl_differs() 187 if ((entry->ae_perm | ACL_PERM_BITS) != ACL_PERM_BITS) in _posix1e_acl_check() 357 e->ae_perm = perm; in _posix1e_acl_add_entry()
|
H A D | acl_copy.c | 64 dest_d->ae_perm = src_d->ae_perm; in acl_copy_entry()
|
H A D | acl_entry.c | 66 (**entry_p).ae_perm = ACL_PERM_NONE; in acl_create_entry() 108 (**entry_p).ae_perm = ACL_PERM_NONE; in acl_create_entry_np()
|
H A D | acl_get.c | 147 *permset_p = &entry_d->ae_perm; in acl_get_permset()
|
H A D | acl_set.c | 150 entry_d->ae_perm = *permset_d; in acl_set_permset()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonacl.c | 70 acep->ae_perm = (acl_perm_t)0; in nfsrv_dissectace() 174 &acep->ae_perm); in nfsrv_dissectace() 328 if (ace->ae_perm & ACL_ADD_FILE) in nfsrv_buildace() 336 if (ace->ae_perm & ACL_EXECUTE) in nfsrv_buildace() 344 if (ace->ae_perm & ACL_DELETE) in nfsrv_buildace() 346 if (ace->ae_perm & ACL_READ_ACL) in nfsrv_buildace() 348 if (ace->ae_perm & ACL_WRITE_ACL) in nfsrv_buildace() 365 if (ace->ae_perm & ACL_EXECUTE) in nfsrv_buildace() 371 if (ace->ae_perm & ACL_DELETE) in nfsrv_buildace() 373 if (ace->ae_perm & ACL_READ_ACL) in nfsrv_buildace() [all …]
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_acl.c | 70 acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm( in ext2_sync_acl_from_inode() 81 acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm( in ext2_sync_acl_from_inode() 107 acl_group_obj->ae_perm = acl_posix1e_mode_to_perm( in ext2_sync_acl_from_inode() 113 acl_mask->ae_perm = acl_posix1e_mode_to_perm(ACL_GROUP_OBJ, in ext2_sync_acl_from_inode() 172 acl->acl_entry[n].ae_perm = entry->ae_perm; in ext4_acl_from_disk() 244 ap->a_aclp->acl_entry[0].ae_perm = ACL_PERM_NONE; in ext2_getacl_posix1e() 247 ap->a_aclp->acl_entry[1].ae_perm = ACL_PERM_NONE; in ext2_getacl_posix1e() 250 ap->a_aclp->acl_entry[2].ae_perm = ACL_PERM_NONE; in ext2_getacl_posix1e() 322 entry->ae_perm = acl_e->ae_perm; in ext4_acl_to_disk()
|
H A D | ext2_acl.h | 36 int16_t ae_perm; member 42 int16_t ae_perm; member
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_acl.c | 84 acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm( in ufs_sync_acl_from_inode() 95 acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm( in ufs_sync_acl_from_inode() 121 acl_group_obj->ae_perm = acl_posix1e_mode_to_perm( in ufs_sync_acl_from_inode() 127 acl_mask->ae_perm = acl_posix1e_mode_to_perm(ACL_GROUP_OBJ, in ufs_sync_acl_from_inode() 317 old->acl_entry[0].ae_perm = ACL_PERM_NONE; in ufs_getacl_posix1e() 320 old->acl_entry[1].ae_perm = ACL_PERM_NONE; in ufs_getacl_posix1e() 323 old->acl_entry[2].ae_perm = ACL_PERM_NONE; in ufs_getacl_posix1e()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_disk_acl_freebsd.c | 119 int r, s, ae_id, ae_tag, ae_perm; in translate_acl() local 168 ae_perm = 0; in translate_acl() 272 ae_perm |= acl_nfs4_flag_map[i].a_perm; in translate_acl() 303 ae_perm |= perm_map[i].a_perm; in translate_acl() 307 ae_perm, ae_tag, in translate_acl()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_acl.c | 146 entry->ae_perm = _bsd_from_zfs(ace->a_access_mask, perms); in acl_from_aces() 198 ace->a_access_mask = _zfs_from_bsd(entry->ae_perm, perms); in aces_from_acl()
|
/freebsd/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_acl.c | 145 entry->ae_perm = _bsd_from_zfs(ace->a_access_mask, perms); in acl_from_aces() 197 ace->a_access_mask = _zfs_from_bsd(entry->ae_perm, perms); in aces_from_acl()
|
/freebsd/sys/sys/ |
H A D | acl.h | 91 oldacl_perm_t ae_perm; member 106 acl_perm_t ae_perm; member
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_ctldir.c | 807 entry->ae_perm &= ~(ACL_WRITE_ACL | ACL_WRITE_OWNER | in zfsctl_common_getacl()
|