Searched refs:VEXEC (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-9.3-release/sys/kern/
H A Dsubr_acl_posix1e.c64 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND)) == 0,
89 if ((accmode & VEXEC) && !priv_check_cred(cred,
91 priv_granted |= VEXEC;
98 if ((accmode & VEXEC) && (acl_posix1e_acl_to_mode(acl) &
101 priv_granted |= VEXEC;
129 dac_granted |= VEXEC;
185 acl_mask_granted |= VEXEC;
191 acl_mask_granted = VEXEC | VREAD | VWRITE | VAPPEND;
205 dac_granted |= VEXEC;
241 dac_granted |= VEXEC;
[all...]
H A Dsubr_acl_nfs4.c71 {VEXEC, ACL_EXECUTE},
178 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND |
232 * For VEXEC, ensure that at least one execute bit is set for
238 if (!denied && !is_directory && (accmode & VEXEC) &&
258 if ((accmode & VEXEC) && !priv_check_cred(cred,
260 priv_granted |= VEXEC;
267 if ((accmode & VEXEC) && (file_mode &
270 priv_granted |= VEXEC;
H A Dvfs_subr.c3877 KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND)) == 0,
3896 dac_granted |= VEXEC;
3911 dac_granted |= VEXEC;
3925 dac_granted |= VEXEC;
3944 * For directories, use PRIV_VFS_LOOKUP to satisfy VEXEC
3947 if ((accmode & VEXEC) && ((dac_granted & VEXEC) == 0) &&
3949 priv_granted |= VEXEC;
3956 if ((accmode & VEXEC) && ((dac_granted & VEXEC)
[all...]
H A Dvfs_default.c373 KASSERT((ap->a_accmode & ~(VEXEC | VWRITE | VREAD | VADMIN |
H A Dkern_exec.c1457 error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td);
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_ioctl.c74 if ((error = VOP_ACCESS(vp, VEXEC, cred, td))) break;
82 if ((error = VOP_ACCESS(vp, VEXEC, cred, td))) break;
H A Dnwfs_vnops.c844 if ((error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, td)))
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_getcwd.c302 accmode_t accmode = VEXEC;
350 accmode = VEXEC|VREAD;
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_policy.c132 if (accmode & VEXEC) {
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dimgact_coff.c205 if ((error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td)) != 0)
/freebsd-9.3-release/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c476 if (accmode & VEXEC)
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_vnode.h483 #define VEXEC S_IXUSR macro
492 ((vp)->v_vnode->v_type == VREG && ((mode) & (S_ISGID|(VEXEC>>3))) == S_ISGID)
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_acl.c2422 * Map the bits required to the standard vnode flags VREAD|VWRITE|VEXEC
2442 needed_bits |= VEXEC;
2484 checkmode |= VEXEC;
2523 * Translate traditional unix VREAD/VWRITE/VEXEC mode into
2553 downer, available_perms, VWRITE|VEXEC);
2673 available_perms |= (dzp_working_mode & ACE_EXECUTE) ? 0 : VEXEC;
/freebsd-9.3-release/sys/fs/ntfs/
H A Dntfs_vnops.c618 error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread);
/freebsd-9.3-release/sys/fs/unionfs/
H A Dunion_subr.c1147 if ((error = mac_vnode_check_open(cred, vp, VEXEC|VREAD)) != 0)
1150 if ((error = VOP_ACCESS(vp, VEXEC|VREAD, cred, td)) != 0)
H A Dunion_vnops.c638 if (accmode & VEXEC)
650 if (accmode & VEXEC)
660 if (accmode & VEXEC)
/freebsd-9.3-release/sys/fs/hpfs/
H A Dhpfs_vnops.c1042 error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread);
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c147 if (nfsvno_accchk(vp, VEXEC, nd->nd_cred, exp, p,
704 nd->nd_repstat = nfsvno_accchk(vp, VEXEC,
2271 nd->nd_repstat = nfsvno_accchk(vp, VEXEC,
2776 nd->nd_repstat = nfsvno_accchk(vp, VEXEC,
/freebsd-9.3-release/sys/fs/pseudofs/
H A Dpseudofs_vnops.c447 error = VOP_ACCESS(vn, VEXEC, cnp->cn_cred, cnp->cn_thread);
/freebsd-9.3-release/sys/nfsserver/
H A Dnfs_serv.c301 nfsrv_access(vp, VEXEC, cred, rdonly, 0))
886 error = nfsrv_access(vp, VEXEC, cred, rdonly, 1);
2807 error = nfsrv_access(vp, VEXEC, cred, rdonly, 0);
3107 error = nfsrv_access(vp, VEXEC, cred, rdonly, 0);
/freebsd-9.3-release/sys/sys/
H A Dvnode.h313 #define VEXEC 000000000100 /* execute/search permission */ macro
/freebsd-9.3-release/sys/security/mac_biba/
H A Dmac_biba.c1749 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
3117 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
/freebsd-9.3-release/sys/security/mac_mls/
H A Dmac_mls.c1641 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
2742 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
/freebsd-9.3-release/sys/fs/coda/
H A Dcoda_vnops.c628 return (((accmode & VREAD) && !(accmode & (VWRITE | VEXEC)))
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_vnops.c1123 if ((error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, td)) != 0)

Completed in 343 milliseconds

12