Home
last modified time | relevance | path

Searched refs:VEXEC (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/kern/
H A Dsubr_acl_posix1e.c65 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND)) == 0, in vaccess_acl_posix1e()
88 if ((accmode & VEXEC) && !priv_check_cred(cred, PRIV_VFS_LOOKUP)) in vaccess_acl_posix1e()
89 priv_granted |= VEXEC; in vaccess_acl_posix1e()
96 if ((accmode & VEXEC) && (acl_posix1e_acl_to_mode(acl) & in vaccess_acl_posix1e()
99 priv_granted |= VEXEC; in vaccess_acl_posix1e()
127 dac_granted |= VEXEC; in vaccess_acl_posix1e()
181 acl_mask_granted |= VEXEC; in vaccess_acl_posix1e()
187 acl_mask_granted = VEXEC | VREAD | VWRITE | VAPPEND; in vaccess_acl_posix1e()
201 dac_granted |= VEXEC; in vaccess_acl_posix1e()
235 dac_granted |= VEXEC; in vaccess_acl_posix1e()
[all …]
H A Dsubr_acl_nfs4.c72 {VEXEC, ACL_EXECUTE},
179 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND | in vaccess_acl_nfs4()
236 if (!denied && !is_directory && (accmode & VEXEC) && in vaccess_acl_nfs4()
256 if ((accmode & VEXEC) && !priv_check_cred(cred, PRIV_VFS_LOOKUP)) in vaccess_acl_nfs4()
257 priv_granted |= VEXEC; in vaccess_acl_nfs4()
264 if ((accmode & VEXEC) && (file_mode & in vaccess_acl_nfs4()
267 priv_granted |= VEXEC; in vaccess_acl_nfs4()
H A Dvfs_subr.c5590 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND)) == 0, in vaccess()
5606 dac_granted |= VEXEC; in vaccess()
5621 dac_granted |= VEXEC; in vaccess()
5635 dac_granted |= VEXEC; in vaccess()
5657 if ((accmode & VEXEC) && ((dac_granted & VEXEC) == 0) && in vaccess()
5659 priv_granted |= VEXEC; in vaccess()
5666 if ((accmode & VEXEC) && ((dac_granted & VEXEC) == 0) && in vaccess()
5669 priv_granted |= VEXEC; in vaccess()
7190 return (VOP_ACCESS(vp, VEXEC, cnp->cn_cred, curthread)); in vn_dir_check_exec()
H A Dvfs_default.c332 KASSERT((ap->a_accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | in vop_stdaccess()
H A Dkern_exec.c1871 error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td); in exec_check_permissions()
H A Dvfs_syscalls.c1038 return (VOP_ACCESS(vp, VEXEC, td->td_ucred, td)); in change_dir()
2101 accmode |= VEXEC; in vn_access()
H A Dvfs_vnops.c424 accmode |= VEXEC; in vn_open_vnode()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_policy.c139 if (accmode & VEXEC) { in secpolicy_vnode_access()
/freebsd/sys/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c356 is_exec = (va.va_mode & VEXEC); in parse_entry()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c2386 needed_bits |= VEXEC; in zfs_zaccess()
2428 checkmode |= VEXEC; in zfs_zaccess()
2499 downer, available_perms, VWRITE|VEXEC); in zfs_delete_final_check()
2621 available_perms |= (dzp_working_mode & ACE_EXECUTE) ? 0 : VEXEC; in zfs_zaccess_delete()
H A Dzfs_vnops_os.c4430 if (ap->a_accmode == VEXEC) { in zfs_freebsd_access()
4438 accmode = ap->a_accmode & (VREAD|VWRITE|VEXEC|VAPPEND); in zfs_freebsd_access()
4446 accmode = ap->a_accmode & ~(VREAD|VWRITE|VEXEC|VAPPEND); in zfs_freebsd_access()
4457 if (error == 0 && (ap->a_accmode & VEXEC) != 0 && vp->v_type != VDIR && in zfs_freebsd_access()
/freebsd/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c472 if (accmode & VEXEC) in ugidfw_accmode2mbi()
/freebsd/sys/fs/unionfs/
H A Dunion_subr.c1591 if ((error = mac_vnode_check_open(cred, lvp, VEXEC | VREAD)) != 0) in unionfs_check_rmdir()
1594 if ((error = VOP_ACCESS(lvp, VEXEC | VREAD, cred, td)) != 0) in unionfs_check_rmdir()
H A Dunion_vnops.c893 if (accmode & VEXEC) in unionfs_check_corrected_access()
904 if (accmode & VEXEC) in unionfs_check_corrected_access()
914 if (accmode & VEXEC) in unionfs_check_corrected_access()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vnops.c245 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, curthread); in tarfs_lookup()
/freebsd/sys/fs/fuse/
H A Dfuse_internal.c224 if ((mode & VEXEC) != 0) in fuse_internal_access()
H A Dfuse_vnops.c1464 else if ((err = fuse_internal_access(dvp, VEXEC, td, cred))) in fuse_vnop_lookup()
/freebsd/sys/sys/
H A Dvnode.h340 #define VEXEC 000000000100 /* execute/search permission */ macro
/freebsd/sys/ufs/ufs/
H A Dufs_lookup.c91 error = VOP_ACCESS(vdp, VEXEC, cred, td); in ufs_delete_denied()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c1730 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { in biba_posixshm_check_open()
3133 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { in biba_vnode_check_open()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1626 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { in mls_posixshm_check_open()
2763 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { in mls_vnode_check_open()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c208 if (nfsvno_accchk(vp, VEXEC, nd->nd_cred, exp, p, in nfsrvd_access()
859 nd->nd_repstat = nfsvno_accchk(vp, VEXEC, in nfsrvd_read()
2529 nd->nd_repstat = nfsvno_accchk(vp, VEXEC, in nfsrvd_lock()
3168 nd->nd_repstat = nfsvno_accchk(vp, VEXEC, in nfsrvd_open()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvnops.c495 if (ap->a_accmode & VEXEC) in nfs_access()
504 if (ap->a_accmode & VEXEC) in nfs_access()
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c412 if (__predict_true(accmode == VEXEC && in tmpfs_access()
/freebsd/sys/fs/p9fs/
H A Dp9fs_vnops.c258 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, curthread); in p9fs_lookup()

12