Home
last modified time | relevance | path

Searched refs:MNT_NOEXEC (Results 1 – 12 of 12) sorted by relevance

/openbsd/sbin/mount_ffs/
H A Dmount_ffs.c96 mntflags |= MNT_NODEV | MNT_NOEXEC; in main()
/openbsd/sbin/mount/
H A Dmntopts.h59 #define MOPT_NOEXEC { "exec", MNT_NOEXEC, MFLAG_INVERSE | MFLAG_SET }
H A Dmount.c89 { MNT_NOEXEC, 0, "noexec", "noexec" },
/openbsd/usr.sbin/amd/amd/
H A Dmount_fs.c50 { "noexec", MNT_NOEXEC },
/openbsd/sys/sys/
H A Dmount.h356 #define MNT_NOEXEC 0x00000004 /* can't exec from filesystem */ macro
/openbsd/usr.sbin/pstat/
H A Dpstat.c727 if (flags & MNT_NOEXEC) { in mount_print()
729 flags &= ~MNT_NOEXEC; in mount_print()
/openbsd/sbin/newfs/
H A Dnewfs.c534 mntflags |= MNT_NODEV | MNT_NOEXEC; in main()
/openbsd/sys/kern/
H A Dvfs_syscalls.c176 (flags & (MNT_NODEV | MNT_NOEXEC)) != (MNT_NODEV | MNT_NOEXEC)) { in sys_mount()
242 mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_WXALLOWED | MNT_NODEV | in sys_mount()
244 mp->mnt_flag |= flags & (MNT_NOSUID | MNT_NOEXEC | MNT_WXALLOWED | in sys_mount()
H A Dkern_exec.c151 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in check_exec()
H A Dexec_elf.c382 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in elf_load_file()
/openbsd/regress/usr.bin/diff/
H A Dt9.1225 mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
227 mp->mnt_flag |= SCARG(uap, flags) & (MNT_NOSUID | MNT_NOEXEC |
H A Dt9.2264 mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
267 mp->mnt_flag |= SCARG(uap, flags) & (MNT_NOSUID | MNT_NOEXEC |