Home
last modified time | relevance | path

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

123

/third_party/ltp/runtest/
Dcontainers48 shmnstest_unshare shmnstest unshare
51 shmem_2nstest_unshare shmem_2nstest unshare
55 mesgq_nstest_unshare mesgq_nstest unshare
59 sem_nstest_unshare sem_nstest unshare
62 semtest_2ns_unshare semtest_2ns unshare
65 utstest_unshare_1 utstest unshare 1
66 utstest_unshare_2 utstest unshare 2
67 utstest_unshare_3 utstest unshare 3
68 utstest_unshare_4 utstest unshare 4
69 utstest_unshare_5 utstest unshare 5
/third_party/ltp/testcases/cve/
Dcve-2017-16939.c44 if (unshare(CLONE_NEWUSER) != 0) in setup()
46 if (unshare(CLONE_NEWNET) != 0) in setup()
/third_party/ltp/testcases/network/packet/
Dfanout01.c36 TEST(unshare(CLONE_NEWUSER)); in setup()
40 TEST(unshare(CLONE_NEWNET)); in setup()
/third_party/rust/crates/rustix/src/thread/
Dsetns.rs124 pub fn unshare(flags: UnshareFlags) -> io::Result<()> { in unshare() function
125 syscalls::unshare(flags) in unshare()
/third_party/toybox/toys/other/
Dnsenter.c70 #define unshare(flags) syscall(SYS_unshare, flags) macro
136 if (unshare(f)) perror_exit(0); in unshare_main()
/third_party/musl/src/linux/
Dunshare.c5 int unshare(int flags) in unshare() function
/third_party/ltp/testcases/kernel/containers/sysvipc/
Drunipctests_noltp.sh24 for type in none clone unshare; do
/third_party/rust/crates/nix/src/
Dsched.rs130 pub fn unshare(flags: CloneFlags) -> Result<()> { in unshare() function
131 let res = unsafe { libc::unshare(flags.bits()) }; in unshare()
/third_party/ltp/testcases/kernel/containers/utsname/
Drunutstests_noltp.sh27 ./utstest_noltp unshare $i
/third_party/ltp/testcases/kernel/syscalls/unshare/
Dunshare01.c47 TST_EXP_PASS(unshare(tc[i].mode), "unshare(%s)", tc[i].desc); in run()
Dunshare02.c51 TST_EXP_FAIL(unshare(tc[i].mode), tc[i].expected_error, in run()
/third_party/rust/crates/nix/test/
Dtest_mount.rs20 use nix::sched::{unshare, CloneFlags};
213 unshare(CloneFlags::CLONE_NEWNS | CloneFlags::CLONE_NEWUSER).unwrap_or_else(|e| { in setup_namespaces()
/third_party/ltp/testcases/kernel/containers/mountns/
Dmountns04.c48 if (unshare(CLONE_NEWNS) == -1) in test()
Dmountns01.c81 if (unshare(CLONE_NEWNS) == -1) in test()
Dmountns02.c81 if (unshare(CLONE_NEWNS) == -1) in test()
Dmountns03.c94 if (unshare(CLONE_NEWNS) == -1) in test()
/third_party/ltp/testcases/kernel/containers/userns/
Duserns05.c101 if (unshare(CLONE_NEWUSER) == -1) { in test_userns_id()
/third_party/rust/crates/rustix/src/backend/libc/thread/
Dsyscalls.rs299 pub(crate) fn unshare(flags: crate::thread::UnshareFlags) -> io::Result<()> { in unshare() function
300 unsafe { ret(c::unshare(flags.bits() as i32)) } in unshare()
/third_party/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c102 TEST(unshare(CLONE_NEWNS | CLONE_FS)); in run()
/third_party/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr05.c95 res = unshare(CLONE_NEWUSER); in do_unshare()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify17.c153 res = unshare(CLONE_NEWUSER); in do_unshare()
/third_party/musl/porting/linux/user/include/
Dsched.h79 int unshare(int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsched.h65 int unshare(int);
/third_party/ltp/include/lapi/syscalls/
Daarch64.in99 unshare 97
/third_party/musl/porting/liteos_m/user/include/
Dsched.h77 int unshare(int);

123