/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | setns-dcache.c | 17 * Test that setns(CLONE_NEWNET) points to new /proc/net content even 104 if (setns(nsfd, CLONE_NEWNET) == -1) { in main()
|
H A D | setns-sysvipc.c | 17 * Test that setns(CLONE_NEWIPC) points to new /proc/sysvipc content even 103 if (setns(nsfd, CLONE_NEWIPC) == -1) { in main()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_uts_container_006.cpp | 52 int ret = setns(fd, CLONE_NEWUTS); in UtsContainerTest()
|
H A D | It_net_container_004.cpp | 74 ret = setns(fd, CLONE_NEWNET); in ChildFun()
|
H A D | It_mnt_container_008.cpp | 73 ret = setns(fd, setFlag); in ItMntContainer008()
|
H A D | It_time_container_003.cpp | 55 ret = setns(fd, CLONE_NEWTIME); in childFunc()
|
H A D | It_user_container_004.cpp | 65 ret = setns(fd, CLONE_NEWUSER); in childFunc()
|
H A D | It_ipc_container_002.cpp | 137 ret = setns(fd, CLONE_NEWIPC);
in ItIpcContainer002()
|
H A D | It_ipc_container_006.cpp | 100 ret = setns(fd, CLONE_NEWIPC); in childFunc()
|
H A D | It_pid_container_031.cpp | 76 ret = setns(fd, CLONE_NEWPID); in ChildFun()
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
H A D | procfs.c | 33 if (setns(fd, CLONE_NEWTIME)) in switch_ns() 34 return pr_perror("setns()"); in switch_ns()
|
H A D | gettime_perf.c | 85 if (setns(nsfd, CLONE_NEWTIME)) in main() 86 return pr_perror("setns"); in main()
|
H A D | clock_nanosleep.c | 136 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
H A D | timens.c | 52 if (setns(fd, CLONE_NEWTIME)) { in switch_ns() 53 pr_perror("setns()"); in switch_ns()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | setns-sysvipc.c | 17 * Test that setns(CLONE_NEWIPC) points to new /proc/sysvipc content even 103 if (setns(nsfd, CLONE_NEWIPC) == -1) { in main()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | namespaces.h | 19 int setns(int fd, int nstype);
|
H A D | namespaces.c | 306 if (setns(newns, CLONE_NEWNS) < 0) in nsinfo__mountns_enter() 327 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timens/ |
H A D | gettime_perf.c | 93 if (setns(nsfd, CLONE_NEWTIME)) in main() 94 return pr_perror("setns"); in main()
|
H A D | procfs.c | 31 if (setns(fd, CLONE_NEWTIME)) in switch_ns() 32 return pr_perror("setns()"); in switch_ns()
|
H A D | clock_nanosleep.c | 136 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
H A D | timens.c | 50 if (setns(fd, CLONE_NEWTIME)) { in switch_ns() 51 pr_perror("setns()"); in switch_ns()
|
/third_party/rust/crates/rustix/src/backend/libc/thread/ |
H A D | syscalls.rs | 293 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> { 294 unsafe { ret_c_int(c::setns(borrowed_fd(fd), nstype)) }
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | sched.h | 74 int setns(int, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | sched.h | 66 int setns(int, int);
|