/src/lib/libc/gen/ |
posix_spawnp.c | 66 * If there is a / in the name, fall straight through to posix_spawn(). 69 return posix_spawn(pid, file, fa, sa, cav, env); 120 * It would be nice (much better) to try posix_spawn() 145 * Use posix_spawn() with the found binary 147 return posix_spawn(pid, fpath, fa, sa, cav, env);
|
Makefile.inc | 78 posix_spawn.3 posix_spawn_file_actions_addopen.3 \ 162 MLINKS+=posix_spawn.3 posix_spawnp.3 \
|
/src/tests/lib/libc/gen/posix_spawn/ |
Makefile | 8 TESTSDIR= ${TESTSBASE}/lib/libc/gen/posix_spawn
|
t_fileactions.c | 92 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)); 120 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)); 148 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)); 190 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)); 203 "posix_spawn fails when a file to open does not exist"); 216 err = posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL); 239 "posix_spawn fails when a file to open does not exist " 254 * will cause a "proper" return value from posix_spawn(2) 263 err = posix_spawn(&pid, "/bin/cat", &fa, &attr, args, NULL); 302 RZ(posix_spawn(&pid, helper, &fa, NULL, args, NULL)) [all...] |
t_spawn.c | 62 "Tests a simple posix_spawn executing /bin/ls"); 68 RZ(posix_spawn(NULL, "/bin/ls", NULL, NULL, args, NULL)); 93 err = posix_spawn(NULL, buf, NULL, NULL, args, NULL); 102 "posix_spawn an invalid binary"); 113 "posix_spawn a nonexistent binary"); 124 "posix_spawn a script with non existing interpreter"); 135 "posix_spawn a child and get its return code"); 152 RZ(posix_spawn(&pid, buf, NULL, NULL, args0, NULL)); 243 * will cause a "proper" return value from posix_spawn(2) 252 error = posix_spawn(&pid, "/bin/pwd", &fa, attr_p, args, NULL) [all...] |
t_spawnattr.c | 104 "Tests posix_spawn with scheduler attributes"); 144 RZ(posix_spawn(&pid, helper, NULL, &attr, args, NULL)); 177 "posix_spawn a child and with POSIX_SPAWN_RESETIDS flag"); 196 RZ(posix_spawn(&pid, buf, NULL, &attr, args, NULL));
|
/src/include/ |
spawn.h | 41 int posix_spawn(pid_t * __restrict, const char * __restrict,
|
/src/tests/kernel/arch/i386/ |
execregs.c | 121 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/lib/libc/stdlib/ |
system.c | 118 error = posix_spawn(&pid, _PATH_BSHELL, NULL, &attr, __UNCONST(argp),
|
/src/tests/kernel/arch/x86_64/ |
execregs.c | 97 /* rdi: used to pass posix_spawn arg0, nonnull anyway (&pid) */ 98 /* rsi: used to pass posix_spawn arg1, nonnull anyway (path) */ 99 /* rdx: used to pass posix_spawn arg2, nonnull anyway (&fileacts) */ 101 /* r8: used to pass posix_spawn arg4, nonnull anyway (argv) */ 102 /* r9: used to pass posix_spawn arg5, nonnull anyway (environ) */ 103 /* rcx: used to pass posix_spawn arg3, nonnull anyway (&attr) */ 145 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/tests/lib/libc/gen/ |
Makefile | 11 TESTS_SUBDIRS+= posix_spawn
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerUtilDarwin.cpp | 111 ErrorCode = posix_spawn(&Pid, "/bin/sh", NULL, &SpawnAttributes,
|
/src/tests/kernel/arch/vax/ |
execregs.c | 155 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/tests/kernel/arch/aarch64/ |
execregs.c | 132 /* x0: used to pass posix_spawn arg0, nonnull anyway (&pid) */ 133 /* x1: used to pass posix_spawn arg1, nonnull anyway (path) */ 134 /* x2: used to pass posix_spawn arg2, nonnull anyway (&fileacts) */ 135 /* x3: used to pass posix_spawn arg3, nonnull anyway (&attr) */ 136 /* x4: used to pass posix_spawn arg3, nonnull anyway (argv) */ 137 /* x5: used to pass posix_spawn arg3, nonnull anyway (environ) */ 215 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/tests/kernel/ |
t_cloexec.c | 372 RZ(posix_spawn(&pid, prog, /*file_actions*/NULL, /*attrp*/NULL, argv, 382 * posix_spawn. 401 "pipe2(O_CLOEXEC) reader is closed in child on posix_spawn") 404 "accept4(SOCK_CLOEXEC) is closed in child on posix_spawn"); 406 "open(\"/dev/drvctl\") is closed in child on posix_spawn"); 408 "dup3(..., O_CLOEXEC) is closed in child on posix_spawn"); 410 "fcntl(STDIN_FILENO, F_DUPFD_CLOEXEC) is closed in child on posix_spawn"); 412 "kqueue1(O_CLOEXEC) is closed in child on posix_spawn"); 414 "open(O_CLOEXEC) is closed in child on posix_spawn"); 417 "fcntl(open(...), F_SETFD, O_CLOEXEC) is closed in child on posix_spawn"); [all...] |
t_clofork.c | 349 RZ(posix_spawn(&pid, prog, /*file_actions*/NULL, /*attrp*/NULL, argv, 359 * posix_spawn. 378 "pipe2(O_CLOFORK) reader is closed in child on posix_spawn") 381 "accept4(SOCK_CLOFORK) is closed in child on posix_spawn"); 383 "open(\"/dev/drvctl\") is closed in child on posix_spawn"); 385 "dup3(..., O_CLOFORK) is closed in child on posix_spawn"); 387 "fcntl(STDIN_FILENO, F_DUPFD_CLOFORK) is closed in child on posix_spawn"); 389 "kqueue1(O_CLOFORK) is closed in child on posix_spawn"); 391 "open(O_CLOFORK) is closed in child on posix_spawn"); 394 "fcntl(open(...), F_SETFD, O_CLOFORK) is closed in child on posix_spawn"); [all...] |
/src/tests/kernel/arch/hppa/ |
execregs.c | 376 error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
|
/src/tests/lib/libc/sys/ |
t_ptrace_fork_wait.h | 66 FORKEE_ASSERT_EQ(posix_spawn(&child2, 391 FORKEE_ASSERT_EQ(posix_spawn(&tracee2, 768 FORKEE_ASSERT_EQ(posix_spawn(&child2, 964 FORKEE_ASSERT_EQ(posix_spawn(&tracee2, 1328 FORKEE_ASSERT_EQ(posix_spawn(&child2,
|
/src/lib/libc/sys/ |
Makefile.inc | 196 issetugid.S posix_spawn.S sync.S __posix_fadvise50.S
|
/src/tools/compat/ |
configure.ac | 247 mkstemps mkdtemp poll posix_spawn pread putc_unlocked pwcache_userdb \
|
/src/usr.bin/xinstall/ |
xinstall.c | 1044 rv = posix_spawn(NULL, command, NULL, NULL, args, NULL);
|