Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-28 | README: fix silliness imported from libucontext | A. Wilcox | 1 | -8/+3 | |
2019-04-28 | README: syntax fixes | A. Wilcox | 1 | -8/+8 | |
2019-04-28 | Finally use an Adélie style README here | A. Wilcox | 2 | -69/+232 | |
2019-04-08 | malloc: Add mtrace and muntrace stubs | A. Wilcox | 2 | -1/+18 | |
2019-02-19 | Merge branch 'patch-5' into 'master' | A. Wilcox | 1 | -4/+6 | |
pthread: Fix pthread_getname_np Remove the trailing newline, and ensure the string returned is always null-terminated. Signed-off-by: Samuel Holland <samuel@sholland.org> See merge request !5 | |||||
2019-02-18 | pthread: Fix pthread_getname_np | Samuel Holland | 1 | -4/+6 | |
Remove the trailing newline, and ensure the string returned is always null-terminated. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-08 | Merge branch 'patch-4' into 'master' | A. Wilcox | 6 | -23/+71 | |
New kernel compatibility; obstack; pthread_getname_np The gcompat loader compiled as a static binary doesn't work on Linux since [a4ff8e8620d3f4](https://github.com/torvalds/linux/commit/a4ff8e8620d3f4f50ac4b41e8067b7d395056843), failing with an error like: ``` [349055.473655] 13325 (cmake): Uhuuh, elf segment at 0000000000400000 requested but the memory is mapped already ``` This is because the actual binary we want to run is also loaded at 0x400000. While it's actually okay to overlap the binary, since we're going to call `execve` again, the kernel doesn't allow the overlap anymore. Fix that by compiling the loader as static PIE, so it can be put at a different address. Also add `pthread_getname_np` and the option to link `obstack`. See merge request !4 | |||||
2019-01-05 | Fix compatibility with Linux 4.17+ | Samuel Holland | 2 | -1/+2 | |
The gcompat loader compiled as a static binary doesn't work on Linux since commit a4ff8e8620d3f4, failing with the error: ``` Uhuuh, elf segment at 0000000000400000 requested but the memory is mapped already ``` This is because the binary we are the ELF interpreter for is also loaded at 0x400000. While it's actually okay to overlap the binary, since we're going to call `execve` again, the kernel doesn't allow the overlap anymore. Fix that by compiling the loader as static PIE, so it can be loaded at a different address. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-05 | pthread: Implement pthread_getname_np | Samuel Holland | 2 | -1/+29 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-05 | Makefile: Detect and link an obstack library | Samuel Holland | 2 | -3/+20 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-05 | Makefile: Clean up compiler invocations | Samuel Holland | 1 | -9/+11 | |
- Respect user CFLAGS and LDFLAGS consistently. - Consistent use of curly braces for variables over parentheses. - Sort flags, putting '-o' at the end for readability of `make` output. - -fPIE doesn't mean anything to the linker Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-05 | run clang-format on the source code | Samuel Holland | 1 | -1/+1 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2019-01-05 | Makefile: depend on internal.h; format headers | Samuel Holland | 3 | -11/+11 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-11-12 | wchar: Implement __wcstol_internal | A. Wilcox | 2 | -0/+17 | |
2018-09-21 | Release 0.3.00.3.0 | A. Wilcox | 1 | -1/+5 | |
2018-09-21 | Merge branch 'patch-3' into 'master' | A. Wilcox | 14 | -24/+177 | |
Add some more functions (notably __cxa_thread_atexit_impl and realpath) and run clang-format See merge request !3 | |||||
2018-09-11 | libgcompat: Fix formatting inconsistencies (clang-format) | Samuel Holland | 6 | -24/+21 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | unistd: Add __open_2 and its __open64_2 alias | Samuel Holland | 2 | -0/+14 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | stdlib: Add secure_getenv alias to __secure_getenv | Samuel Holland | 2 | -0/+9 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | readlink: Report EIO on /proc read failure | Samuel Holland | 2 | -0/+2 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | realpath: Intercept realpath(/proc/self/exe) | Samuel Holland | 3 | -2/+55 | |
Reuse the machinery from readlink Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | readlink: Report ENOSYS on dlsym failure | Samuel Holland | 2 | -0/+8 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | ctype: Add __ctype_b | Samuel Holland | 3 | -0/+8 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | cxx_thread: Add __cxa_thread_atexit_impl | Samuel Holland | 3 | -0/+62 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-07-08 | Merge branch 'master' into 'master' | A. Wilcox | 2 | -0/+36 | |
string: add memfrob and strfry This adds two missing glibc string functions. See merge request !2 | |||||
2018-06-21 | string: add memfrob and strfry | Jason A. Donenfeld | 2 | -0/+36 | |
2018-06-13 | string: add __strcspn_c2 | A. Wilcox | 2 | -0/+23 | |
2018-06-13 | resolv: add __res_search alias | A. Wilcox | 2 | -0/+12 | |
2018-04-03 | Update changelog | Elizabeth Myers | 1 | -0/+6 | |
2018-04-03 | malloc: add malloc_trim function | Elizabeth Myers | 1 | -0/+6 | |
2018-04-03 | Fix stupid blunder in the changelog | Elizabeth Myers | 1 | -0/+5 | |
2018-04-03 | socket: fix build | Elizabeth Myers | 1 | -0/+1 | |
2018-04-03 | Update changelog | Elizabeth Myers | 1 | -1/+1 | |
2018-04-03 | socket: __poll_chk | Elizabeth Myers | 1 | -0/+13 | |
2018-04-03 | Fix silly type in Contribution Guide | A. Wilcox | 1 | -2/+2 | |
2018-04-03 | Update CHANGELOG | A. Wilcox | 1 | -0/+6 | |
2018-04-03 | math: implement most of glibc's __*_finite functions | Elizabeth Myers | 1 | -2/+1090 | |
These are supposed to be specialisations for speed, but these are just faked. Some warnings were added too, if they return infinite values. As a side effect of this change, scalbl is also now implemented. As noted, not all functions are implemented; the big two blockers are an implementation of j0l and y0l; I imagine Bessel functions aren't too widely used, so I doubt that many things will want them. Someone (not it) can implement them later. | |||||
2018-04-03 | GCOMPAT__assert_with_reason: omit format parameter | Elizabeth Myers | 1 | -2/+2 | |
__VA_ARGS__ expects one or more arguments; this is a cheesy hack to allow passing only a format string (which is often all you need for small asserts). | |||||
2018-03-16 | README: document WITH_LIBUCONTEXT variable | William Pitcock | 1 | -6/+7 | |
2018-03-16 | CHANGELOG: note libucontext support | William Pitcock | 1 | -0/+9 | |
2018-03-16 | build: allow building with libucontext support | William Pitcock | 2 | -2/+13 | |
2018-02-23 | gnulib: use GCOMPAT__assert_with_reason() instead of bare assert() | William Pitcock | 1 | -2/+10 | |
2018-02-23 | libgcompat: add internal api for GCOMPAT__panic(). | William Pitcock | 3 | -0/+33 | |
2018-02-20 | CHANGELOG: update for 0.2.00.2.0 | A. Wilcox | 1 | -1/+9 | |
2018-02-15 | CONTRIBUTING: gcompat development is actually gcompat@lists.adelielinux.org now | William Pitcock | 1 | -1/+1 | |
2018-02-08 | loader: quiet some valgrind warnings | William Pitcock | 1 | -3/+3 | |
2018-02-07 | misc: implement __libc_stack_end | William Pitcock | 1 | -0/+2 | |
2018-02-07 | loader: gracefully handle user-exec of the ELF interpreter itself | William Pitcock | 1 | -0/+12 | |
2018-02-01 | socket: add __cmsg_nxthdr | A. Wilcox | 2 | -0/+16 | |
2018-02-01 | malloc: add __sbrk | A. Wilcox | 2 | -0/+12 | |