Home
last modified time | relevance | path

Searched refs:setns (Results 1 – 25 of 104) sorted by relevance

12345

/external/linux-kselftest/tools/testing/selftests/proc/
D.gitignore14 /setns-dcache
15 /setns-sysvipc
DMakefile19 TEST_GEN_PROGS += setns-dcache
20 TEST_GEN_PROGS += setns-sysvipc
Dsetns-dcache.c104 if (setns(nsfd, CLONE_NEWNET) == -1) { in main()
Dsetns-sysvipc.c103 if (setns(nsfd, CLONE_NEWIPC) == -1) { in main()
/external/libbrillo/brillo/
Dscoped_mount_namespace.cc28 PLOG_IF(ERROR, setns(mount_namespace_fd_.get(), CLONE_NEWNS) != 0) in ~ScopedMountNamespace()
57 if (setns(mount_namespace_fd.get(), CLONE_NEWNS) != 0) { in CreateFromPath()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c108 err = setns(init_net, CLONE_NEWNET); in test_flow_dissector_reattach()
133 err = setns(self_net, CLONE_NEWNET); in test_flow_dissector_reattach()
/external/toybox/toys/other/
Dnsenter.c70 #define setns(fd, nstype) syscall(SYS_setns, fd, nstype) macro
155 if (setns(fd = xopenro(filename), flags[i])) perror_exit("setns"); in unshare_main()
/external/libnetfilter_conntrack/
Dconfigure.ac34 dnl Check for setns used in qa
35 AC_CHECK_FUNCS(setns)
Dconfig.h.in21 /* Define to 1 if you have the `setns' function. */
/external/musl/src/linux/
Dsetns.c5 int setns(int fd, int nstype) in setns() function
/external/bcc/src/cc/
Dsetns.h12 #define setns(FD, NSTYPE) syscall(__NR_setns, (int)(FD), (int)(NSTYPE)) macro
/external/bcc/src/cc/includes/
Dsetns.h12 #define setns(FD, NSTYPE) syscall(__NR_setns, (int)(FD), (int)(NSTYPE)) macro
/external/ltp/include/lapi/
Dsetns.h14 static inline int setns(int fd, int nstype) in setns() function
/external/rust/crates/nix/src/
Dsched.rs268 pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()> { in setns() function
269 let res = unsafe { libc::setns(fd, nstype.bits()) }; in setns()
/external/llvm/test/CodeGen/X86/
Dsetcc.ll62 ; CHECK: setns %al
73 ; CHECK: setns %al
Dfpcmp-soft-fp.ll40 ; CHECK: setns
80 ; CHECK: setns
Dcmp.ll223 ; CHECK: setns %al
234 ; CHECK: setns %al
245 ; CHECK: setns %al
256 ; CHECK: setns %al
/external/ltp/doc/
Dnamespaces-helper-tools.txt18 ** check for setns() availability, should be called before using ns_exec
28 requirement from kernel side is the support of "setns" syscall.
/external/iproute2/include/
Dnamespace.h40 static inline int setns(int fd, int nstype) in setns() function
/external/ltp/include/lapi/syscalls/
Dhppa.in20 setns 328
Daarch64.in254 setns 268
/external/ltp/testcases/kernel/syscalls/
DMakefile29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
/external/strace/
Dclone.c147 SYS_FUNC(setns) in SYS_FUNC() argument
/external/iproute2/lib/
Dnamespace.c58 if (setns(netns, CLONE_NEWNET) < 0) { in netns_switch()
/external/musl/include/
Dsched.h79 int setns(int, int);

12345