HomeSort by: relevance | last modified time | path
    Searched refs:posix_spawn (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/external/gpl3/binutils/dist/gprofng/libcollector/
libgprofng.ver 60 posix_spawn;
78 posix_spawn;
103 posix_spawn;
119 posix_spawn;
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
libgprofng.ver 60 posix_spawn;
78 posix_spawn;
103 posix_spawn;
119 posix_spawn;
  /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/external/bsd/pkg_install/dist/lib/
fexec.c 74 * pkg_install itself. The manual pages suggest using posix_spawn()
106 * macOS uses posix_spawn() instead due to reasons explained above.
130 warn("failed to init posix_spawn");
139 warn("failed to add posix_spawn action");
144 if (posix_spawn(&child, file, &act, NULL, (char **)argv, environ) < 0) {
145 warn("posix_spawn failed");
  /src/external/gpl3/gcc/dist/libgfortran/intrinsics/
execute_command_line.c 117 if (posix_spawn (&pid, "/bin/sh", NULL, NULL,
  /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
execute_command_line.c 117 if (posix_spawn (&pid, "/bin/sh", NULL, NULL,
  /src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
Program.inc 201 // If this OS has posix_spawn and there is no memory limit being implied, use
202 // posix_spawn. It is more efficient than fork/exec.
209 // c strings we pass to it stay alive until the call to posix_spawn,
256 Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
265 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/
spawn.d 80 int posix_spawn(pid_t*pid, const char* path,
  /src/tests/kernel/arch/hppa/
execregs.c 376 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/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/
main.c 232 char *const file = "posix_spawn.c";
240 if (0 != posix_spawn(&child, "/usr/bin/cc", 0, 0, argv, get_environ())) {
241 perror("posix_spawn");

Completed in 83 milliseconds

1 2 3