Home
last modified time | relevance | path

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

12

/systemd-251/src/basic/
Dnamespace-util.c102 if (setns(pidns_fd, CLONE_NEWPID) < 0) in namespace_enter()
106 if (setns(mntns_fd, CLONE_NEWNS) < 0) in namespace_enter()
110 if (setns(netns_fd, CLONE_NEWNET) < 0) in namespace_enter()
114 if (setns(userns_fd, CLONE_NEWUSER) < 0) in namespace_enter()
Dsyscall-list.txt492 setns
Dsyscalls-alpha.txt492 setns 501
Dsyscalls-arc.txt492 setns 268
Dsyscalls-arm.txt492 setns 375
Dsyscalls-arm64.txt492 setns 268
Dsyscalls-i386.txt492 setns 346
Dsyscalls-ia64.txt492 setns 1330
Dsyscalls-loongarch64.txt492 setns 268
Dsyscalls-m68k.txt492 setns 344
Dsyscalls-mips64.txt492 setns 5303
Dsyscalls-mips64n32.txt492 setns 6308
Dsyscalls-mipso32.txt492 setns 4344
Dsyscalls-powerpc.txt492 setns 350
Dsyscalls-powerpc64.txt492 setns 350
Dsyscalls-riscv32.txt492 setns 268
Dsyscalls-riscv64.txt492 setns 268
Dsyscalls-s390.txt492 setns 339
Dsyscalls-s390x.txt492 setns 339
Dsyscalls-sparc.txt492 setns 337
Dsyscalls-x86_64.txt492 setns 308
Dmissing_syscall.h142 # define setns missing_setns macro
/systemd-251/src/test/
Dtest-seccomp.c322 assert_se(setns(0, CLONE_NEWNS) == -1); in TEST()
324 assert_se(setns(0, CLONE_NEWNET) == -1); in TEST()
326 assert_se(setns(0, CLONE_NEWUTS) == -1); in TEST()
328 assert_se(setns(0, CLONE_NEWIPC) == -1); in TEST()
330 assert_se(setns(0, CLONE_NEWNET|CLONE_NEWUTS) == -1); in TEST()
332 assert_se(setns(0, 0) == -1); in TEST()
/systemd-251/src/shared/
Dseccomp-util.c1254 SCMP_SYS(setns), in seccomp_restrict_namespaces()
1262 SCMP_SYS(setns), in seccomp_restrict_namespaces()
1316 SCMP_SYS(setns), in seccomp_restrict_namespaces()
/systemd-251/src/machine/
Dmachine-dbus.c1005 if (setns(mntfd, CLONE_NEWNS) < 0) { in bus_machine_method_copy()

12