/kernel/linux/linux-5.10/security/apparmor/ |
H A D | mount.c | 52 audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); in audit_mnt_flags() 60 audit_log_format(ab, flags & MS_REC ? ", runbindable" : in audit_mnt_flags() 63 audit_log_format(ab, flags & MS_REC ? ", rprivate" : in audit_mnt_flags() 66 audit_log_format(ab, flags & MS_REC ? ", rslave" : in audit_mnt_flags() 69 audit_log_format(ab, flags & MS_REC ? ", rshared" : in audit_mnt_flags() 437 flags &= MS_REC | MS_BIND; in aa_bind_mount() 471 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | mount.c | 52 audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); in audit_mnt_flags() 60 audit_log_format(ab, flags & MS_REC ? ", runbindable" : in audit_mnt_flags() 63 audit_log_format(ab, flags & MS_REC ? ", rprivate" : in audit_mnt_flags() 66 audit_log_format(ab, flags & MS_REC ? ", rslave" : in audit_mnt_flags() 69 audit_log_format(ab, flags & MS_REC ? ", rshared" : in audit_mnt_flags() 435 flags &= MS_REC | MS_BIND; in aa_bind_mount() 470 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 38 #ifndef MS_REC 39 # define MS_REC 16384 macro 297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 38 #ifndef MS_REC 39 # define MS_REC 16384 macro 297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
|
/kernel/linux/linux-5.10/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H A D | recursion-depth.c | 37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/tmpfs/ |
H A D | bug-link-o-tmpfile.c | 38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H A D | recursion-depth.c | 37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | mount.h | 24 #define MS_REC 16384 macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | mount.h | 24 #define MS_REC 16384 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | mount.h | 34 #define MS_REC 16384 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | mount.h | 34 #define MS_REC 16384 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpffs.c | 38 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
|
/kernel/linux/linux-5.10/samples/binderfs/ |
H A D | binderfs_example.c | 30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | mount.h | 26 #define MS_REC 16384 macro
|
/kernel/linux/linux-6.6/samples/binderfs/ |
H A D | binderfs_example.c | 30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-subset-pid.c | 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | mount.h | 26 #define MS_REC 16384 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 33 #ifndef MS_REC 34 #define MS_REC 16384 macro 230 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 413 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP() 1006 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP() 1038 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_current_pid_tgid_new_ns.c | 76 if (CHECK_NEWNS(mount("none", "/proc", NULL, MS_PRIVATE|MS_REC, NULL), in main()
|
H A D | cgroup_helpers.c | 110 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
|
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 105 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
|
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 105 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpffs.c | 42 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_fdinfo_test.c | 229 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
|