/third_party/ltp/runtest/ |
D | containers | 48 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/ |
D | cve-2017-16939.c | 44 if (unshare(CLONE_NEWUSER) != 0) in setup() 46 if (unshare(CLONE_NEWNET) != 0) in setup()
|
/third_party/ltp/testcases/network/packet/ |
D | fanout01.c | 36 TEST(unshare(CLONE_NEWUSER)); in setup() 40 TEST(unshare(CLONE_NEWNET)); in setup()
|
/third_party/rust/crates/rustix/src/thread/ |
D | setns.rs | 124 pub fn unshare(flags: UnshareFlags) -> io::Result<()> { in unshare() function 125 syscalls::unshare(flags) in unshare()
|
/third_party/toybox/toys/other/ |
D | nsenter.c | 70 #define unshare(flags) syscall(SYS_unshare, flags) macro 136 if (unshare(f)) perror_exit(0); in unshare_main()
|
/third_party/musl/src/linux/ |
D | unshare.c | 5 int unshare(int flags) in unshare() function
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | runipctests_noltp.sh | 24 for type in none clone unshare; do
|
/third_party/rust/crates/nix/src/ |
D | sched.rs | 130 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/ |
D | runutstests_noltp.sh | 27 ./utstest_noltp unshare $i
|
/third_party/ltp/testcases/kernel/syscalls/unshare/ |
D | unshare01.c | 47 TST_EXP_PASS(unshare(tc[i].mode), "unshare(%s)", tc[i].desc); in run()
|
D | unshare02.c | 51 TST_EXP_FAIL(unshare(tc[i].mode), tc[i].expected_error, in run()
|
/third_party/rust/crates/nix/test/ |
D | test_mount.rs | 20 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/ |
D | mountns04.c | 48 if (unshare(CLONE_NEWNS) == -1) in test()
|
D | mountns01.c | 81 if (unshare(CLONE_NEWNS) == -1) in test()
|
D | mountns02.c | 81 if (unshare(CLONE_NEWNS) == -1) in test()
|
D | mountns03.c | 94 if (unshare(CLONE_NEWNS) == -1) in test()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
D | userns05.c | 101 if (unshare(CLONE_NEWUSER) == -1) { in test_userns_id()
|
/third_party/rust/crates/rustix/src/backend/libc/thread/ |
D | syscalls.rs | 299 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/ |
D | pivot_root01.c | 102 TEST(unshare(CLONE_NEWNS | CLONE_FS)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr05.c | 95 res = unshare(CLONE_NEWUSER); in do_unshare()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify17.c | 153 res = unshare(CLONE_NEWUSER); in do_unshare()
|
/third_party/musl/porting/linux/user/include/ |
D | sched.h | 79 int unshare(int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | sched.h | 65 int unshare(int);
|
/third_party/ltp/include/lapi/syscalls/ |
D | aarch64.in | 99 unshare 97
|
/third_party/musl/porting/liteos_m/user/include/ |
D | sched.h | 77 int unshare(int);
|