/freebsd-9.3-release/sys/kern/ |
H A D | subr_acl_posix1e.c | 64 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 D | subr_acl_nfs4.c | 71 {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 D | vfs_subr.c | 3877 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 D | vfs_default.c | 373 KASSERT((ap->a_accmode & ~(VEXEC | VWRITE | VREAD | VADMIN |
|
H A D | kern_exec.c | 1457 error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td);
|
/freebsd-9.3-release/sys/fs/nwfs/ |
H A D | nwfs_ioctl.c | 74 if ((error = VOP_ACCESS(vp, VEXEC, cred, td))) break; 82 if ((error = VOP_ACCESS(vp, VEXEC, cred, td))) break;
|
H A D | nwfs_vnops.c | 844 if ((error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, td)))
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_getcwd.c | 302 accmode_t accmode = VEXEC; 350 accmode = VEXEC|VREAD;
|
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_policy.c | 132 if (accmode & VEXEC) {
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | imgact_coff.c | 205 if ((error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td)) != 0)
|
/freebsd-9.3-release/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 476 if (accmode & VEXEC)
|
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_vnode.h | 483 #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 D | zfs_acl.c | 2422 * 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 D | ntfs_vnops.c | 618 error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread);
|
/freebsd-9.3-release/sys/fs/unionfs/ |
H A D | union_subr.c | 1147 if ((error = mac_vnode_check_open(cred, vp, VEXEC|VREAD)) != 0) 1150 if ((error = VOP_ACCESS(vp, VEXEC|VREAD, cred, td)) != 0)
|
H A D | union_vnops.c | 638 if (accmode & VEXEC) 650 if (accmode & VEXEC) 660 if (accmode & VEXEC)
|
/freebsd-9.3-release/sys/fs/hpfs/ |
H A D | hpfs_vnops.c | 1042 error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread);
|
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 147 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 D | pseudofs_vnops.c | 447 error = VOP_ACCESS(vn, VEXEC, cnp->cn_cred, cnp->cn_thread);
|
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfs_serv.c | 301 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 D | vnode.h | 313 #define VEXEC 000000000100 /* execute/search permission */ macro
|
/freebsd-9.3-release/sys/security/mac_biba/ |
H A D | mac_biba.c | 1749 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { 3117 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
|
/freebsd-9.3-release/sys/security/mac_mls/ |
H A D | mac_mls.c | 1641 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) { 2742 if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
|
/freebsd-9.3-release/sys/fs/coda/ |
H A D | coda_vnops.c | 628 return (((accmode & VREAD) && !(accmode & (VWRITE | VEXEC)))
|
/freebsd-9.3-release/sys/fs/smbfs/ |
H A D | smbfs_vnops.c | 1123 if ((error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, td)) != 0)
|