Home
last modified time | relevance | path

Searched refs:MS_PRIVATE (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dmount.c211 if (flags & (MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission()
215 } else if (flags & MS_PRIVATE) { in tomoyo_mount_permission()
219 flags &= ~MS_PRIVATE; in tomoyo_mount_permission()
221 if (flags & (MS_SHARED | MS_PRIVATE | MS_UNBINDABLE)) in tomoyo_mount_permission()
226 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Dmount.h67 MS_PRIVATE = 1 << 18, /* Change to private. */ enumerator
68 #define MS_PRIVATE MS_PRIVATE macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Dmount.h67 MS_PRIVATE = 1 << 18, /* Change to private. */ enumerator
68 #define MS_PRIVATE MS_PRIVATE macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H A Drecursion-depth.c37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dmount.h30 #define MS_PRIVATE (1<<18) /* change to private */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dmount.h30 #define MS_PRIVATE (1<<18) /* change to private */ macro
/OK3568_Linux_fs/kernel/samples/binderfs/
H A Dbinderfs_example.c30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c38 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_current_pid_tgid_new_ns.c76 if (CHECK_NEWNS(mount("none", "/proc", NULL, MS_PRIVATE|MS_REC, NULL), in main()
H A Dcgroup_helpers.c110 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dfs.h126 #define MS_PRIVATE (1<<18) /* change to private */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dfs.h126 #define MS_PRIVATE (1<<18) /* change to private */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c229 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
H A Dpidfd_test.c186 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dmount.c62 if (flags & MS_PRIVATE) in audit_mnt_flags()
471 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
H A Dlsm.c547 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
/OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/
H A Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dproc-pid-vm.c62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dresolve_test.c54 E_mount("", "/tmp", "", MS_PRIVATE, ""); in setup_testdir()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcommon.c124 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
/OK3568_Linux_fs/kernel/fs/
H A Dnamespace.c1528 change_mnt_propagation(p, MS_PRIVATE); in umount_tree()
2286 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type()
3224 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dubifs.h494 #define MS_PRIVATE (1<<18) /* change to private */ macro