Home
last modified time | relevance | path

Searched refs:MS_NOEXEC (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c139 mnt_flags |= MS_NOEXEC; in read_mnt_flags()
330 if (!test_unpriv_remount_simple(MS_NOEXEC)) { in main()
/linux/tools/include/uapi/linux/
H A Dmount.h16 #define MS_NOEXEC 8 /* Disallow program execution */ macro
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c253 mnt_flags |= MS_NOEXEC; in read_mnt_flags()
417 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP()
548 expected_flags |= MS_NOEXEC; in TEST_F()
584 expected_flags |= MS_NOEXEC; in TEST_F()
737 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F()
744 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F()
1042 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP()
/linux/include/uapi/linux/
H A Dmount.h16 #define MS_NOEXEC 8 /* Disallow program execution */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h16 #define MS_NOEXEC 8 /* Disallow program execution */ macro
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c210 ret = mount("devpts", mntpoint, "devpts", MS_NOSUID | MS_NOEXEC, in verify_non_standard_devpts_mount()
/linux/tools/testing/selftests/exec/
H A Dcheck-exec.c138 MS_MGC_VAL | (variant->mount_exec ? 0 : MS_NOEXEC), in FIXTURE_SETUP()
/linux/security/apparmor/
H A Dmount.c37 if (flags & MS_NOEXEC) in audit_mnt_flags()
/linux/drivers/base/
H A DKconfig69 This instructs the kernel to include the MS_NOEXEC and MS_NOSUID mount
/linux/fs/
H A Dnamespace.c4118 if (flags & MS_NOEXEC) in path_mount()