Home
last modified time | relevance | path

Searched refs:ae_perm (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_acl_posix1e.c126 if (acl->acl_entry[i].ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e()
128 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e()
130 if (acl->acl_entry[i].ae_perm & ACL_WRITE) 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()
200 if (acl->acl_entry[i].ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e()
202 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e()
204 if (acl->acl_entry[i].ae_perm & ACL_WRITE) in vaccess_acl_posix1e()
234 if (acl->acl_entry[i].ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e()
[all …]
H A Dsubr_acl_nfs4.c152 if (entry->ae_perm & access_mask) { in _acl_denies()
159 access_mask &= ~(entry->ae_perm); in _acl_denies()
308 if (entry->ae_perm != perm) in _acl_entry_matches()
334 entry->ae_perm = perm; in _acl_append()
443 entry->ae_perm &= ~(ACL_READ_DATA | ACL_WRITE_DATA | in acl_nfs4_sync_acl_from_mode_draft()
490 if (previous->ae_perm & ~(entry->ae_perm)) in acl_nfs4_sync_acl_from_mode_draft()
493 if (previous->ae_perm & ~(ACL_READ_DATA | in acl_nfs4_sync_acl_from_mode_draft()
514 previous->ae_perm = 0; in acl_nfs4_sync_acl_from_mode_draft()
539 if (entry->ae_perm & ACL_READ_DATA) { in acl_nfs4_sync_acl_from_mode_draft()
541 previous->ae_perm &= ~ACL_READ_DATA; in acl_nfs4_sync_acl_from_mode_draft()
[all …]
H A Dvfs_acl.c97 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/sys/fs/nfs/
H A Dnfs_commonacl.c70 acep->ae_perm = (acl_perm_t)0; in nfsrv_dissectace()
174 &acep->ae_perm); in nfsrv_dissectace()
326 if (ace->ae_perm & ACL_LIST_DIRECTORY) in nfsrv_buildace()
328 if (ace->ae_perm & ACL_ADD_FILE) in nfsrv_buildace()
330 if (ace->ae_perm & ACL_ADD_SUBDIRECTORY) in nfsrv_buildace()
332 if (ace->ae_perm & ACL_READ_NAMED_ATTRS) in nfsrv_buildace()
334 if (ace->ae_perm & ACL_WRITE_NAMED_ATTRS) in nfsrv_buildace()
336 if (ace->ae_perm & ACL_EXECUTE) in nfsrv_buildace()
338 if (ace->ae_perm & ACL_DELETE_CHILD) in nfsrv_buildace()
340 if (ace->ae_perm & ACL_READ_ATTRIBUTES) in nfsrv_buildace()
[all …]
/freebsd/lib/libc/posix1e/
H A Dacl_equiv_mode_np.c61 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 Dacl_to_text.c65 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()
131 error = _posix1e_acl_perm_to_string(ae_perm, in _posix1e_acl_to_text()
136 effective_perm = ae_perm in _posix1e_acl_to_text()
[all...]
H A Dacl_calc_mask.c91 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 Dacl_support.c72 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 Dacl_copy.c64 dest_d->ae_perm = src_d->ae_perm; in acl_copy_entry()
H A Dacl_entry.c66 (**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 Dacl_get.c147 *permset_p = &entry_d->ae_perm; in acl_get_permset()
H A Dacl_set.c150 entry_d->ae_perm = *permset_d; in acl_set_permset()
/freebsd/sys/fs/ext2fs/
H A Dext2_acl.c70 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 Dext2_acl.h36 int16_t ae_perm; member
42 int16_t ae_perm; member
/freebsd/sys/ufs/ufs/
H A Dufs_acl.c84 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 Darchive_disk_acl_freebsd.c119 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 Dspl_acl.c146 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 Dopensolaris_acl.c145 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 Dacl.h91 oldacl_perm_t ae_perm; member
106 acl_perm_t ae_perm; member
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ctldir.c807 entry->ae_perm &= ~(ACL_WRITE_ACL | ACL_WRITE_OWNER | in zfsctl_common_getacl()