Home
last modified time | relevance | path

Searched refs:MS_REC (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/security/apparmor/
H A Dmount.c52 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()
/openbmc/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c38 #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()
/openbmc/linux/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/openbmc/linux/tools/testing/selftests/exec/
H A Drecursion-depth.c37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/openbmc/linux/include/uapi/linux/
H A Dmount.h26 #define MS_REC 16384 macro
/openbmc/linux/tools/include/uapi/linux/
H A Dmount.h26 #define MS_REC 16384 macro
/openbmc/linux/samples/binderfs/
H A Dbinderfs_example.c30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-subset-pid.c48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc()
H A Dproc-pid-vm.c64 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
/openbmc/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c33 #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()
/openbmc/linux/tools/testing/selftests/firmware/
H A Dfw_namespace.c105 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c42 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
/openbmc/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/openbmc/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns()
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c230 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
H A Dpidfd_test.c187 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c203 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c155 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
/openbmc/linux/fs/
H A Dnamespace.c2529 int type = ms_flags & ~(MS_REC | MS_SILENT); in flags_to_propagation_type()
2547 int recurse = ms_flags & MS_REC; in do_change_type()
3675 return do_loopback(path, dev_name, flags & MS_REC); in path_mount()
/openbmc/u-boot/fs/ubifs/
H A Dubifs.h487 #define MS_REC 16384 macro
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c282 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout_opt()