Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-07-06 | random: initial work at a new modulerandom | A. Wilcox | 2 | -0/+12 | |
This is a _dangerously_ naive implementation. Do not ship. | |||||
2020-07-06 | time: New module adding __strftime_l | A. Wilcox | 3 | -1/+16 | |
2020-07-06 | locale: New module for glibc locale_t ABI compat | A. Wilcox | 3 | -0/+65 | |
2020-07-06 | unistd: Interpose execv* functions for LOADER | A. Wilcox | 2 | -1/+60 | |
Newer releases of Chromium directly execv /proc/self/exe, missing our readlink(3) interposing. We go ahead and interpose all three execv* functions just to ensure wider compatibility. | |||||
2020-07-06 | cxx_thread: Fix negated assertion | A. Wilcox | 1 | -1/+1 | |
The assertion should be that the return value was 0. Additionally, show the result code if the return value is not 0. | |||||
2020-03-30 | [ci skip] Update README | A. Wilcox | 1 | -4/+5 | |
2019-11-10 | Merge branch 'ppc-fix' into 'master' | A. Wilcox | 1 | -0/+41 | |
internal: add a wrapper for __libc_start_main for PowerPC(64(le)) See merge request adelie/gcompat!6 | |||||
2019-11-10 | internal: add a wrapper for __libc_start_main for PowerPC(64(le)) | q66 | 1 | -0/+41 | |
This is necessary because the musl and glibc function signatures differ significantly. | |||||
2019-06-02 | [ci skip] Add FUNDING.yml | A. Wilcox | 1 | -0/+2 | |
2019-05-08 | string: check NULL before using variables everywhere | A. Wilcox | 1 | -3/+6 | |
2019-05-08 | string: check NULL before using src here, too | A. Wilcox | 2 | -2/+3 | |
2019-05-08 | malloc: use posix_memalign instead of deprecated memalign | A. Wilcox | 1 | -1/+4 | |
2019-05-08 | Don't use variables until ensuring they're non-NULL | A. Wilcox | 2 | -2/+4 | |
2019-05-08 | string: reduce scope of variables in strfry | A. Wilcox | 1 | -5/+4 | |
2019-05-07 | wchar: Add __wcscpy_chk | A. Wilcox | 2 | -0/+26 | |
2019-05-03 | CHANGELOG: next release is 1.0.0 | A. Wilcox | 1 | -0/+4 | |
2019-05-03 | CHANGELOG: 0.4.0 release0.4.0 | A. Wilcox | 1 | -1/+1 | |
2019-05-02 | string: Add __strdup | A. Wilcox | 2 | -0/+21 | |
2019-04-29 | travis: Nope, we'll do Coverity manually | A. Wilcox | 1 | -13/+0 | |
2019-04-29 | travis: Maybe fix Coverity | A. Wilcox | 1 | -0/+2 | |
2019-04-29 | Attempt to enable Coverity builds | A. Wilcox | 2 | -0/+17 | |
2019-04-29 | Use <utmpx.h> for struct utmp definiton | A. Wilcox | 2 | -2/+2 | |
2019-04-29 | travis: Install make -.- | A. Wilcox | 1 | -1/+1 | |
2019-04-29 | travis: Create clone dir after user account | A. Wilcox | 1 | -2/+2 | |
2019-04-29 | travis: Set CLONE_DIR if necessary | A. Wilcox | 1 | -0/+1 | |
2019-04-29 | travis: Ensure key | A. Wilcox | 2 | -1/+16 | |
2019-04-29 | what a travis-ty | A. Wilcox | 1 | -1/+1 | |
2019-04-29 | travis: Set permissions correctly | A. Wilcox | 1 | -0/+1 | |
2019-04-29 | travis: More fixes | A. Wilcox | 1 | -2/+1 | |
2019-04-29 | travis: Fixes | A. Wilcox | 2 | -7/+5 | |
2019-04-28 | travis: I am bad at this | A. Wilcox | 1 | -1/+1 | |
2019-04-28 | First attempt at CI | A. Wilcox | 3 | -0/+39 | |
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> |