Home
last modified time | relevance | path

Searched refs:posix_spawn (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/libc/src/spawn/linux/
H A DCMakeLists.txt2 posix_spawn
4 posix_spawn.cpp
6 ../posix_spawn.h
H A Dposix_spawn.cpp1 //===-- Linux implementation of posix_spawn -------------------------------===//
9 #include "src/spawn/posix_spawn.h"
128 LLVM_LIBC_FUNCTION(int, posix_spawn,
/llvm-project/libc/test/integration/src/spawn/testdata/
H A DCMakeLists.txt1 file(GENERATE OUTPUT posix_spawn.test CONTENT "Hello, posix_spawn")
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dposix-return.cpp28 extern "C" int posix_spawn(pid_t *pid, const char *path,
56 if (posix_spawn(NULL, NULL, NULL, NULL, {NULL}, {NULL}) < 0) {} in warningLessThanZero()
58 // CHECK-FIXES: posix_spawn(NULL, NULL, NULL, NULL, {NULL}, {NULL}) > 0 in warningLessThanZero()
115 if (posix_spawn(NULL, NULL, NULL, NULL, {NULL}, {NULL}) == -1) {} in warningEqualsNegative()
/llvm-project/libc/src/spawn/
H A DCMakeLists.txt76 posix_spawn
79 .${LIBC_TARGET_OS}.posix_spawn
H A Dposix_spawn.h1 //===-- Implementation header for posix_spawn -------------------*- C++ -*-===//
17 int posix_spawn(pid_t *__restrict pid, const char *__restrict path,
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dposix_spawn.c32 int s = posix_spawn(&pid, argv[0], &file_actions, &attr, args, env); in main()
/llvm-project/libc/test/integration/src/spawn/
H A Dposix_spawn_test.cpp36 ASSERT_EQ(LIBC_NAMESPACE::posix_spawn(&cpid, arg0, &file_actions, nullptr, in spawn_and_wait_for_normal_exit()
H A DCMakeLists.txt37 libc.src.spawn.posix_spawn
/llvm-project/clang/tools/scan-build-py/tests/functional/exec/
H A DCMakeLists.txt22 check_function_exists(posix_spawn HAVE_POSIX_SPAWN)
H A Dmain.c240 if (0 != posix_spawn(&child, "/usr/bin/cc", 0, 0, argv, get_environ())) { in call_posix_spawn()
/llvm-project/compiler-rt/test/profile/ContinuousSyncMode/
H A Donline-merging.c111 int ret = posix_spawn(&child_pids[I], argv[0], NULL, NULL, child_argv, in main()
H A Dset-file-object.c77 posix_spawn(&child_pids[I], argv[0], NULL, NULL, child_argv, child_envp); in main()
/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc193 // If this OS has posix_spawn and there is no memory limit being implied, use
194 // posix_spawn. It is more efficient than fork/exec.
196 // Cannot use posix_spawn if you would like to detach the process
202 // c strings we pass to it stay alive until the call to posix_spawn,
249 Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
258 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
/llvm-project/compiler-rt/test/asan/TestCases/
H A Dexitcode.cpp90 int err = posix_spawn(&pid, argv[0], nullptr, nullptr, argv, envp); in spawn_child()
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp111 ErrorCode = posix_spawn(&Pid, "/bin/sh", NULL, &SpawnAttributes, in ExecuteCommand()
/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt147 posix_spawn U
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dunsafe-functions.rst59 - ``vfork``, suggested replacement: ``posix_spawn``
/llvm-project/clang/tools/scan-build-py/lib/libear/
H A Dear.c259 int posix_spawn(pid_t *restrict pid, const char *restrict path, in posix_spawn() function
/llvm-project/lldb/source/Host/macosx/objcxx/
H A DHost.mm860 flags |= POSIX_SPAWN_SETEXEC; // Darwin specific posix_spawn flag
863 flags |= POSIX_SPAWN_START_SUSPENDED; // Darwin specific posix_spawn flag
866 flags |= _POSIX_SPAWN_DISABLE_ASLR; // Darwin specific posix_spawn flag
1225 // posix_spawn gets very unhappy if it doesn't have at least the program
/llvm-project/utils/bazel/llvm_configs/
H A Dconfig.h.cmake138 /* Define to 1 if you have the `posix_spawn' function. */
/llvm-project/llvm/include/llvm/Config/
H A Dconfig.h.cmake138 /* Define to 1 if you have the `posix_spawn' function. */
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp325 // posix_spawn in internal_spawn_impl()
328 res = posix_spawn(pid, argv[0], &acts, &attrs, argv_casted, envp_casted); in internal_spawn_impl()
/llvm-project/lldb/tools/debugserver/source/
H A DChangeLog606 call posix_spawnattr_setbinpref_np when launching with posix_spawn on ARM
680 returned. This function can now launch using fork + exec, posix_spawn,
827 (MachProcess::LaunchForDebug): Added posix_spawn support.
/llvm-project/libc/spec/
H A Dposix.td

12