diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 13:54:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 13:54:38 +0000 |
commit | 8c1ab65c0f548d20b7f177bdb736daaf603340e1 (patch) | |
tree | df55b7e75bf43f2bf500845b105afe3ac3a5157e /libc-bottom-half/README.md | |
parent | Initial commit. (diff) | |
download | wasi-libc-upstream/0.0_git20221206.8b7148f.tar.xz wasi-libc-upstream/0.0_git20221206.8b7148f.zip |
Adding upstream version 0.0~git20221206.8b7148f.upstream/0.0_git20221206.8b7148f
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-bottom-half/README.md')
-rw-r--r-- | libc-bottom-half/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc-bottom-half/README.md b/libc-bottom-half/README.md new file mode 100644 index 0000000..1e5401c --- /dev/null +++ b/libc-bottom-half/README.md @@ -0,0 +1,19 @@ +# WASI libc "bottom half". + +The WASI libc "bottom half" is conceptually the lower half of a traditional libc +implementation, consisting of C interfaces to the low-level WASI syscalls. + +This implementation is partially derived from the "bottom half" of [cloudlibc], +revision 8835639f27fc42d32096d59d294a0bbb857dc368. + +[cloudlibc]: https://github.com/NuxiNL/cloudlibc + +This implementation includes preopen functionality, which emulates POSIX APIs +accepting absolute paths by translating them into pre-opened directory handles +and relative paths that can be opened with `openat`. This technique is inspired +by [libpreopen], however the implementation here is designed to be built into +libc rather than to be a layer on top of libc. + +[libpreopen]: https://github.com/musec/libpreopen + +The WASI libc lower half currently depends on the dlmalloc component. |