Searched refs:posix_spawn (Results 1 - 20 of 20) sorted by relevance

/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dposix_spawn_bin.c35 * time program to recursively test posix_spawn time
64 if (posix_spawn(&pid, argv[0], NULL, NULL, argv, NULL)) {
H A DMakefile.benchmarks53 posix_spawn \
H A Dposix_spawn.c31 #pragma ident "@(#)posix_spawn.c 1.0 08/21/08 Apple Inc."
35 * posix_spawn benchmark
57 "notes: measures posix_spawn time of simple process()\n");
87 if (( c = posix_spawn(&pid, exec_path, NULL, NULL, argv, NULL) != 0))
H A DMakefile.com.Darwin55 posix_spawn: posix_spawn_bin
/xnu-2422.115.4/tools/tests/libMicro/
H A DMakefile.benchmarks133 posix_spawn \
H A Dbench.sh499 posix_spawn $OPTS -N "posix_spawn" -B 10
H A Dcoreos_bench.sh525 posix_spawn $OPTS -N "posix_spawn" -B 10
H A Dembd_bench.sh510 posix_spawn $OPTS -N "posix_spawn" -B 10
/xnu-2422.115.4/tools/tests/execperf/
H A Drun.c65 ret = posix_spawn(&pid, newargv[0], NULL, NULL, newargv, environ);
67 errc(1, ret, "posix_spawn(%s)", newargv[0]);
/xnu-2422.115.4/bsd/man/man2/
H A DMakefile218 posix_spawn.2
221 posix_spawn.2 posix_spawnp.2 \
/xnu-2422.115.4/libsyscall/wrappers/spawn/
H A Dspawn.h47 * Opaque types for use with posix_spawn() family functions. Internals are
59 int posix_spawn(pid_t * __restrict, const char * __restrict,
H A Dposix_spawn.c1311 * Ports must be valid at posix_spawn time. They will NOT be
1428 * posix_spawn
1461 posix_spawn(pid_t * __restrict pid, const char * __restrict path, function
/xnu-2422.115.4/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl144 pathconf peeloff poll posix_spawn pread pwrite
/xnu-2422.115.4/tools/tests/unit_tests/guarded_fd_tests_11746236_src/
H A Dguarded_test_framework.c211 /* Initialize posix_spawn attributes */
237 if ((err = posix_spawn(NULL, child_args[0], NULL, &attrs, &child_args[0], environ)) != 0) {
238 fprintf(stderr, "posix_spawn: %s\n", strerror(err));
/xnu-2422.115.4/tools/tests/unit_tests/guarded_mach_port_tests_11178535_src/
H A Dguarded_test_framework.c191 /* Initialize posix_spawn attributes */
217 if ((err = posix_spawn(NULL, child_args[0], NULL, &attrs, &child_args[0], environ)) != 0) {
218 fprintf(stderr, "posix_spawn: %s\n", strerror(err));
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dmisc.c250 * Helper function for posix_spawn test
275 my_err = posix_spawn(&my_pid, args[0], NULL, &attr, args, NULL);
278 printf("posix_spawn should have failed on arch %d\n", arch);
285 * posix_spawn error numers are *returned*, NOT set in errno!!!
288 printf("posix_spawn failed with errno %d - %s\n", my_err, strerror(my_err));
H A Dtests.c2076 /* Test posix_spawn for i386, x86_64 (should succeed) */
2105 /* Test posix_spawn for i386, x86_64 (should succeed) */
2118 /* Test posix_spawn for x86_64 (should fail), i386 (should succeed) */
2132 /* Test posix_spawn for arm (should succeed) */
5133 ret = posix_spawn(&my_pid, "helpers/data_exec32nonxspawn", NULL, &attrp, argv, NULL);
5135 printf("data_exec-i386 failed in posix_spawn %s\n", strerror(errno));
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/
H A Dcpumon_test_framework.c394 /* Initialize posix_spawn attributes */
432 if ((err = posix_spawn(NULL, child_args[0], NULL, &attrs, &child_args[0], environ)) != 0) {
433 fprintf(stderr, "posix_spawn: %s\n", strerror(err));
/xnu-2422.115.4/tools/tests/memorystatus/
H A Dmemorystatus.c1062 if (posix_spawn(&pid, path, NULL, &spattr, (char *const *)argv, NULL) < 0) {
1063 printf("posix_spawn() failed!\n");
/xnu-2422.115.4/bsd/kern/
H A Dkern_exec.c588 /* If posix_spawn binprefs exist, respect those prefs. */
754 /* If posix_spawn binprefs exist, respect those prefs. */
1331 * Description: Decode and apply the posix_spawn apptype to the task.
1391 * ENOTSUP Illegal posix_spawn attr flag was set
1771 * posix_spawn
1799 posix_spawn(proc_t ap, struct posix_spawn_args *uap, int32_t *retval) function
1960 * If we don't have the extension flag that turns "posix_spawn()"
2213 * We need to release the rights even if the posix_spawn has failed.
2347 * posix_spawn() was a libc routine that just
2350 * in-kernel implementation of posix_spawn() i
[all...]

Completed in 163 milliseconds