Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/
Dmount.c55 audit_log_format(ab, flags & MS_REC ? ", rbind" : ", bind"); in audit_mnt_flags()
63 audit_log_format(ab, flags & MS_REC ? ", runbindable" : in audit_mnt_flags()
66 audit_log_format(ab, flags & MS_REC ? ", rprivate" : in audit_mnt_flags()
69 audit_log_format(ab, flags & MS_REC ? ", rslave" : in audit_mnt_flags()
72 audit_log_format(ab, flags & MS_REC ? ", rshared" : in audit_mnt_flags()
437 flags &= MS_REC | MS_BIND; in aa_bind_mount()
464 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
/Linux-v4.19/tools/testing/selftests/mount/
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()
/Linux-v4.19/tools/testing/selftests/bpf/
Dcgroup_helpers.c56 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/Linux-v4.19/tools/testing/selftests/filesystems/
Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/Linux-v4.19/include/uapi/linux/
Dfs.h120 #define MS_REC 16384 macro
/Linux-v4.19/tools/testing/selftests/capabilities/
Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/Linux-v4.19/tools/bpf/bpftool/
Dcommon.c106 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_bpffs()
/Linux-v4.19/fs/
Dnamespace.c2081 int type = ms_flags & ~(MS_REC | MS_SILENT); in flags_to_propagation_type()
2099 int recurse = ms_flags & MS_REC; in do_change_type()
2781 retval = do_loopback(&path, dev_name, flags & MS_REC); in do_mount()