Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-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 | 1 | -0/+21 | |
2019-05-02 | string: Add __strdup | A. Wilcox | 1 | -0/+10 | |
2019-04-29 | Use <utmpx.h> for struct utmp definiton | A. Wilcox | 1 | -1/+1 | |
2019-04-08 | malloc: Add mtrace and muntrace stubs | A. Wilcox | 1 | -0/+12 | |
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-05 | pthread: Implement pthread_getname_np | Samuel Holland | 1 | -1/+24 | |
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 | 2 | -9/+8 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-11-12 | wchar: Implement __wcstol_internal | A. Wilcox | 1 | -0/+12 | |
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 | 1 | -0/+9 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | stdlib: Add secure_getenv alias to __secure_getenv | Samuel Holland | 1 | -0/+3 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | readlink: Report EIO on /proc read failure | Samuel Holland | 1 | -0/+1 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | realpath: Intercept realpath(/proc/self/exe) | Samuel Holland | 1 | -0/+51 | |
Reuse the machinery from readlink Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | readlink: Report ENOSYS on dlsym failure | Samuel Holland | 1 | -0/+2 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | ctype: Add __ctype_b | Samuel Holland | 1 | -0/+1 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-09-11 | cxx_thread: Add __cxa_thread_atexit_impl | Samuel Holland | 1 | -0/+56 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-06-21 | string: add memfrob and strfry | Jason A. Donenfeld | 1 | -0/+34 | |
2018-06-13 | string: add __strcspn_c2 | A. Wilcox | 1 | -0/+17 | |
2018-06-13 | resolv: add __res_search alias | A. Wilcox | 1 | -0/+6 | |
2018-04-03 | malloc: add malloc_trim function | Elizabeth Myers | 1 | -0/+6 | |
2018-04-03 | socket: fix build | Elizabeth Myers | 1 | -0/+1 | |
2018-04-03 | socket: __poll_chk | Elizabeth Myers | 1 | -0/+13 | |
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 | build: allow building with libucontext support | William Pitcock | 1 | -0/+4 | |
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 | 2 | -0/+31 | |
2018-02-07 | misc: implement __libc_stack_end | William Pitcock | 1 | -0/+2 | |
2018-02-01 | socket: add __cmsg_nxthdr | A. Wilcox | 1 | -0/+10 | |
2018-02-01 | malloc: add __sbrk | A. Wilcox | 1 | -0/+6 | |
2018-01-15 | stdlib: add __strtol_internal | William Pitcock | 1 | -0/+10 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | readlink: Intercept readlink("/proc/self/exe") | Samuel Holland | 1 | -0/+85 | |
This allows programs run through gcompat to fork and re-exec themselves. It fixes readlink("/proc/self/exe") to return the executable's absolute path, instead of musl's path. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | utmp: Implement the reentrant utmp function from LSB | Samuel Holland | 1 | -0/+14 | |
This takes advantage of the (lack of a) musl implementation for simplicity. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | unistd: Implement LSB functions plus more | Samuel Holland | 1 | -0/+172 | |
On musl pread and pread64 are the same thing. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | syslog: Implement checked syslog functions from LSB | Samuel Holland | 1 | -0/+32 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | socket: Implement checked socket functions from LSB | Samuel Holland | 1 | -0/+31 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | signal: Add a signal function from LSB | Samuel Holland | 1 | -0/+11 | |
The other unimplemented signal function in LSB is sigreturn, with is not really implementable. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | netdb: Add protocol and service functions from LSB | Samuel Holland | 1 | -0/+79 | |
These take advantage of the musl implementation for simplicity. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | misc: Implement some miscellaneous functions | Samuel Holland | 1 | -0/+33 | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | error: Implement the error function | Samuel Holland | 1 | -0/+27 | |
This follows the exceptionally-detailed functional description in the manual page. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | version: Minor improvements | Samuel Holland | 1 | -5/+17 | |
* Document functions and sort by name. * Explicitly include stddef.h. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | string: Clean up, fix bugs, implement LSB plus more | Samuel Holland | 1 | -38/+199 | |
* Add all checked string functions from LSB, plus those found in use in other applications. Document those functions from LSB as such. * Use a consistent structure and paramater names for all functions. * Fix multiple off-by-one errors. * Use a less hacky and more optimized rawmemchr. * Sort functions by name. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||||
2018-01-15 | stdlib: Implement most LSB functions plus more | Samuel Holland | 2 | -18/+107 | |
* Fix prototype of __realpath_chk. * Add all strto* functions from LSB, plus the ones thata were previously incorrectly in string.c The main missing LSB functions are the reentrant random functions, which should not be used anyway. Signed-off-by: Samuel Holland <samuel@sholland.org> |