/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | setns.c | 41 int result = setns(fd, 0); in setns_0100() 59 int result = setns(fd, nstype); in setns_0200()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
H A D | userns04.c | 12 * namespace and the setns() call fails. 28 TST_EXP_FAIL(setns(fd, CLONE_NEWUSER), EPERM); in child_fn2() 60 TST_EXP_PASS(setns(fd, CLONE_NEWUSER)); in run()
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | mod.rs | 12 mod setns; modules 35 pub use setns::*;
|
H A D | setns.rs | 90 /// - [`setns`] 92 /// [`setns`]: https://man7.org/linux/man-pages/man2/setns.2.html 98 syscalls::setns(fd, allowed_type).map(|_r| ()) in move_into_link_name_space() 107 /// - [`setns`] 109 /// [`setns`]: https://man7.org/linux/man-pages/man2/setns.2.html 114 syscalls::setns(fd, allowed_types.bits() as c_int).map(|_r| ()) in move_into_thread_name_spaces()
|
/third_party/toybox/toys/other/ |
H A D | nsenter.c | 71 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype) macro 158 if (setns(fd = xopenro(filename), flags[i])) perror_exit("setns"); in unshare_main()
|
/third_party/musl/src/linux/ |
H A D | setns.c | 5 int setns(int fd, int nstype) in setns() function
|
/third_party/ltp/include/lapi/ |
H A D | setns.h | 14 static inline int setns(int fd, int nstype) in setns() function
|
/third_party/rust/crates/rustix/tests/thread/ |
H A D | main.rs | 13 mod setns; modules
|
/third_party/rust/crates/nix/src/ |
H A D | sched.rs | 138 /// See also [setns(2)](https://man7.org/linux/man-pages/man2/setns.2.html) 139 pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()> { in setns() functions 140 let res = unsafe { libc::setns(fd, nstype.bits()) }; in setns()
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
|
/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);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | sched.h | 66 int setns(int, int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | sched.h | 68 int setns(int, int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | sched.h | 66 int setns(int, int);
|
/third_party/musl/porting/linux/user/include/ |
H A D | sched.h | 80 int setns(int, int);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | sched.h | 78 int setns(int, int);
|
/third_party/musl/include/ |
H A D | sched.h | 91 int setns(int, int);
|
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/ |
H A D | syscalls.rs | 288 pub(crate) fn setns(fd: BorrowedFd, nstype: c::c_int) -> io::Result<c::c_int> {
|
/third_party/ltp/lib/ |
H A D | tst_safe_macros.c | 18 #include "lapi/setns.h" 465 ret = setns(fd, nstype); in safe_setns() 468 tst_brk_(file, lineno, TBROK | TERRNO, "setns(%i, %i) failed", in safe_setns() 472 "Invalid setns(%i, %i) return value %d", fd, nstype, in safe_setns()
|
/third_party/mesa3d/src/mesa/x86/ |
H A D | assyntax.h | 635 #define SETNS(a) CHOICE(setns a, setns a, setna a) 1348 #define SETNS(a) setns a
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 3256 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 4154 pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int; in setns() functions
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 17337 extern int setns (int __fd, int __nstype) throw (); [all...] |