[libc-commits] [PATCH] D135131: [libc] Add a minimal implementation of the POSIX fork function.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Oct 3 23:54:07 PDT 2022
sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett, krytarowski.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
A very simple and minimal implementation of fork is added. Future
changes will add more functionality to satisfy POSIX and Linux
requirements.
An implementation of wait and a few support macros in sys/wait.h
have also been added to help with testing the fork function.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135131
Files:
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-macros/CMakeLists.txt
libc/include/llvm-libc-macros/linux/CMakeLists.txt
libc/include/llvm-libc-macros/linux/sys-wait-macros.h
libc/include/llvm-libc-macros/sys-wait-macros.h
libc/include/sys/wait.h.def
libc/spec/posix.td
libc/src/sys/CMakeLists.txt
libc/src/sys/wait/CMakeLists.txt
libc/src/sys/wait/linux/CMakeLists.txt
libc/src/sys/wait/linux/wait.cpp
libc/src/sys/wait/wait.h
libc/src/unistd/CMakeLists.txt
libc/src/unistd/fork.h
libc/src/unistd/linux/CMakeLists.txt
libc/src/unistd/linux/fork.cpp
libc/test/integration/src/CMakeLists.txt
libc/test/integration/src/unistd/CMakeLists.txt
libc/test/integration/src/unistd/fork_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135131.464894.patch
Type: text/x-patch
Size: 15077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221004/6bbfa864/attachment-0001.bin>
More information about the libc-commits
mailing list