Searched refs:bind_mount_flags (Results 1 – 2 of 2) sorted by relevance
/external/syzkaller/executor/ |
D | common_linux.h | 1645 unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; in namespace_sandbox_proc() local 1646 if (mount("/dev", "./syz-tmp/newroot/dev", NULL, bind_mount_flags, NULL)) in namespace_sandbox_proc() 1656 if (mount("/selinux", selinux_path, NULL, bind_mount_flags, NULL)) { in namespace_sandbox_proc() 1659 if (mount("/sys/fs/selinux", selinux_path, NULL, bind_mount_flags, NULL) && errno != ENOENT) in namespace_sandbox_proc() 1664 if (mount("/sys", "./syz-tmp/newroot/sys", 0, bind_mount_flags, NULL)) in namespace_sandbox_proc() 1675 …if (mount("/syzcgroup/unified", "./syz-tmp/newroot/syzcgroup/unified", NULL, bind_mount_flags, NUL… in namespace_sandbox_proc() 1678 if (mount("/syzcgroup/cpu", "./syz-tmp/newroot/syzcgroup/cpu", NULL, bind_mount_flags, NULL)) { in namespace_sandbox_proc() 1681 if (mount("/syzcgroup/net", "./syz-tmp/newroot/syzcgroup/net", NULL, bind_mount_flags, NULL)) { in namespace_sandbox_proc()
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 3129 unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; 3130 if (mount("/dev", "./syz-tmp/newroot/dev", NULL, bind_mount_flags, NULL)) 3139 if (mount("/selinux", selinux_path, NULL, bind_mount_flags, NULL)) { 3142 if (mount("/sys/fs/selinux", selinux_path, NULL, bind_mount_flags, NULL) && errno != ENOENT) 3147 if (mount("/sys", "./syz-tmp/newroot/sys", 0, bind_mount_flags, NULL)) 3158 …if (mount("/syzcgroup/unified", "./syz-tmp/newroot/syzcgroup/unified", NULL, bind_mount_flags, NUL… 3161 if (mount("/syzcgroup/cpu", "./syz-tmp/newroot/syzcgroup/cpu", NULL, bind_mount_flags, NULL)) { 3164 if (mount("/syzcgroup/net", "./syz-tmp/newroot/syzcgroup/net", NULL, bind_mount_flags, NULL)) {
|