- Mar 11, 2020
-
-
Jeremy Soller authored
-
- Feb 29, 2020
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Feb 24, 2020
-
-
Ahmed Abd El Mawgood authored
-
Ahmed Abd El Mawgood authored
Introduction: The original implementation of `relibc_ld_so_start` assumes that ld.so will always be invoked manually as in "/lib/ld64.so ./a.out" The problem is regarding this snippet. if sp.argc < 2 { eprintln!("ld.so [executable] [arguments...]"); unistd::_exit(1); loop {} } As such, In linux when user types "./a.out" he will recieve the message ld.so [executable] [arguments...] This patch makes use of AUXV, specifically AT_ENTRY. When invoking ld.so manually, AT_ENTRY happens to be the entry point of ld.so. But when running `./a.out` directly, AT_ENTRY becomes the entry point of `a.out` this patch compares AT_ENTRY to the entry point of ld.so, if they are equal only then it will assume that argv[1] is the real program and adjust the stack, otherwise it will proceed with the stack unadjusted.
-
- Feb 18, 2020
-
-
Jeremy Soller authored
Fix make libs in CI See merge request redox-os/relibc!256
-
- Feb 14, 2020
-
-
Ahmed Abd El Mawgood authored
There is no make libc ➜ relibc git:(master) make libc make: *** No rule to make target 'libc'. Stop.
-
- Feb 07, 2020
-
-
Jeremy Soller authored
Support AF_UNIX sockets See merge request redox-os/relibc!255
-
- Feb 06, 2020
-
-
Tiago authored
As with the previous commit, accept() was calling inner_get_name() and assuming only "tcp:" or "udp:" addresses would be received. Thus, in order to support AF_UNIX sockets, inner_get_name() was split into two, inner_af_inet() and inner_af_unix() - where the former keeps the previous logic, dealing with "tcp:" and "udp:" addresses, and the latter deals now with "chan:" addresses and filling in the sockaddr_un appropriately.
-
Tiago authored
Previously, domain AF_INET was assumed while processing bind() / connect(), which end up calling bind_or_connect!. Instead, match on the domain type and process the path for AF_UNIX domains.
-
Tiago authored
To add support for UNIX sockets (AF_UNIX), of SOCK_STREAM type, the "chan:" scheme is used, which will be supportedby the ipcd running in userspace. Later commits add similar AF_UNIX support for the rest of the methods in impl PalSocket.
-
Tiago authored
Future commits will make use of this, in order to support AF_UNIX sockets.
-
- Jan 29, 2020
-
-
Jeremy Soller authored
-
- Jan 28, 2020
-
-
Jeremy Soller authored
-
- Jan 22, 2020
-
-
Jeremy Soller authored
-
- Jan 20, 2020
-
-
Jeremy Soller authored
-
Jeremy Soller authored
Use lossless type conversion in ctype.h See merge request redox-os/relibc!246
-
-
Jeremy Soller authored
Fix fd dup tests to be more robust See merge request redox-os/relibc!251
-
Jeremy Soller authored
Replace occurences of uninitialized with MaybeUninit See merge request redox-os/relibc!248
-
mem::uninitialized is deprecated, so move over the not-UB MaybeUninit.
-
Jeremy Soller authored
Fix ar usage in Makefile for macOS compatibility See merge request redox-os/relibc!253
-
Jeremy Soller authored
Re-enable netdb tests, fix compiler warning, improve brk coverage See merge request redox-os/relibc!254
-
- Jan 13, 2020
-
-
Graham MacDonald authored
-
- Jan 08, 2020
-
-
samuela authored
-
- Dec 19, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Dec 18, 2019
-
-
Jeremy Soller authored
-
- Dec 17, 2019
-
-
Jeremy Soller authored
-
- Dec 15, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Dec 07, 2019
-
-
Jeremy Soller authored
- Dec 05, 2019
-
-
Jeremy Soller authored
Handle infinity and NaN in printf See merge request redox-os/relibc!252
-
-
- Dec 02, 2019
-
-
Sean Kennedy authored
i.e. not depending on the first fd to be 4.
-
- Dec 01, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-