Searched refs:MNT_NOEXEC (Results 1 – 6 of 6) sorted by relevance
298 #define MNT_NOEXEC 0x00000004 /* can't exec from filesystem */ macro353 #define MNT_VISFLAGMASK (MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | \
209 …flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNORE_OWNERSHIP | MNT_NOEXEC); in bindfs_mount()
224 …flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNORE_OWNERSHIP | MNT_NOEXEC); in nullfs_mount()
369 syscall_flags |= MNT_NOEXEC; in vfs_mount_at_path()1276 if (mp->mnt_flag & MNT_NOEXEC) { in mount_common()1277 flags |= MNT_NOEXEC; in mount_common()1297 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in mount_common()1298 flags |= MNT_NOEXEC; in mount_common()1417 mp->mnt_flag &= ~(MNT_NOSUID | MNT_NOEXEC | MNT_NODEV | in mount_common()1434 mp->mnt_flag |= flags & (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV | in mount_common()15170 mount_flags |= MNT_NOEXEC; in snapshot_mount()
10307 …if ((rights & KAUTH_VNODE_EXECUTE) && (vp->v_type == VREG) && (vp->v_mount->mnt_flag & MNT_NOEXEC)… in vnode_authorize_callback_int()10520 (vap->va_type == VREG) && mp && (mp->mnt_flag & MNT_NOEXEC)) { in vnode_attr_authorize()
3936 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in get_macho_vnode()