[libc-commits] [PATCH] D135752: [libc] Add a simple implementation of the posix_spawn function.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 12 00:33:11 PDT 2022


sivachandra created this revision.
sivachandra added reviewers: michaelrj, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, cryptoad.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

The implementation currently ignores all spawn attributes. Support for
them will be added in future changes.

A simple allocator for integration tests has been added so that the
integration test for posix_spawn can use the
posix_spawn_file_actions_add* functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135752

Files:
  libc/cmake/modules/LLVMLibCTestRules.cmake
  libc/config/linux/api.td
  libc/config/linux/x86_64/entrypoints.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-types/CMakeLists.txt
  libc/include/llvm-libc-types/posix_spawnattr_t.h
  libc/spec/posix.td
  libc/spec/spec.td
  libc/src/spawn/CMakeLists.txt
  libc/src/spawn/linux/CMakeLists.txt
  libc/src/spawn/linux/posix_spawn.cpp
  libc/src/spawn/posix_spawn.h
  libc/test/integration/src/CMakeLists.txt
  libc/test/integration/src/spawn/CMakeLists.txt
  libc/test/integration/src/spawn/posix_spawn_test.cpp
  libc/test/integration/src/spawn/posix_spawn_test_binary.cpp
  libc/test/integration/src/spawn/test_binary_properties.h
  libc/test/integration/src/spawn/testdata/CMakeLists.txt
  libc/utils/IntegrationTest/CMakeLists.txt
  libc/utils/IntegrationTest/test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135752.467035.patch
Type: text/x-patch
Size: 19274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221012/64d3ae96/attachment-0001.bin>


More information about the libc-commits mailing list