Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-26 | Do not use skalibs/environ.h | Laurent Bercot | |
2020-11-26 | trivial bugfix | Laurent Bercot | |
2020-11-25 | child_spawn cleanup, configure cleanup | Laurent Bercot | |
2020-11-25 | Fix typos | Laurent Bercot | |
2020-11-24 | Complete revamp of the pathexec functions | Laurent Bercot | |
- pathexec_run is now called exec_ae a for provided file name (default: argv[0]) e for provided envp (default: environ) - pathexec is now called mexec. m for merge environment. Option letters are: a for provided file name (default: argv[0]) e for provided envp (default: environ) f for provided envp *and* length of the envp m for provided modif string plus its length (the length is always needed because the modifs are null-terminated) n for provided modif string, length *and* number of modifs - functions have a foo0 version for _exit(0) when argv[0] is null - functions have a xfoo version to die if the exec fails - and a xfoo0 - Compatibility #defines and #includes are there until the next major bump | |||
2020-11-23 | Save syscalls on coe and ndelay_on | Laurent Bercot | |
2020-11-20 | Add fd_shutdown() | Laurent Bercot | |
2020-11-08 | Add ipc_bind_reuse_lock, rewrite ipc_bind_reuse to use it | Laurent Bercot | |
2020-11-08 | remove non-working links in libbiguint | Laurent Bercot | |
2020-10-26 | Refactor textmessage/textclient with channel creation around ancil_* | Laurent Bercot | |
2020-10-26 | Separate and expose ancil_recv_fd/ancil_send_fd | Laurent Bercot | |
The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible. | |||
2020-10-26 | Change new function names to openc_*; update deps.mak | Laurent Bercot | |
2020-10-26 | Prepare for 2.9.4.0; add open*coe() functions. | Laurent Bercot | |
2020-09-17 | Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplus | Laurent Bercot | |
2020-04-29 | Fix alloc_realloc UB | Laurent Bercot | |
void ** does not exist: the address of a generic pointer is not properly defined (different pointer types may have different representations). So, alloc_realloc cannot exist as is without UB. Fortunately, it's not supposed to be used in the skalibs programming style, and skalibs itself only uses it in two places (stralloc_ready_tuned and stralloc_shrink) where the pointer is a char *. So we just fix the UB by making alloc_realloc() take a char **, and it's only defined for that pointer type. Nothing to see here folks, nothing happened at all. | |||
2020-04-04 | bugfix: sigprocmask invocation on non-signalfd systems | Laurent Bercot | |
2020-03-21 | bugfix: do not include posixishard.h in an early header! | Laurent Bercot | |
2020-02-26 | Explicitly unblock signals when selfpiped without signalfd | Laurent Bercot | |
This is arguably a bugfix, since selfpipe without signalfd relies on signals being actually delivered, and a process may have inherited a nonempty sigprocmask. Also use SIG_BLOCK instead of SIG_SETMASK when using selfpipe_trapset() with signalfd, because we shouldn't unblock signals that may have previously been blocked. This is also arguably a bugfix. This commit is essential for using the version of s6-linux-init that blocks SIGINT before disablecad on kernels without signalfd. Without it, SIGINT never gets unblocked, so it's never delivered to s6-svscan. | |||
2020-02-19 | execvep_internal: accommodate broken PATHs with ENOTDIR test | Laurent Bercot | |
2020-02-10 | bugfix: env_merge didn't correctly handle variable removal | Laurent Bercot | |
2020-01-30 | Make sagethostname() work with all glibcs | Laurent Bercot | |
2019-10-26 | Switch getrandom sysdep back to choose cl | Laurent Bercot | |
2019-10-25 | Better bigkv | Laurent Bercot | |
2019-10-25 | Add bigkv | Laurent Bercot | |
2019-10-20 | Real fix for undefined PATH_MAX | Laurent Bercot | |
2019-10-20 | Don't rely on the existence of PATH_MAX | Laurent Bercot | |
2019-10-18 | __GNU__ is actually preferred to __gnu_hurd__, it seems | Laurent Bercot | |
2019-10-17 | nonposix.h: define _GNU_SOURCE for Hurd, remove __GLIBC__ test | Laurent Bercot | |
__GLIBC__ and similar ftms are not defined in the compiler, but in features.h, which isn't POSIX so cannot be included, and standard headers can't be included either because nonposix.h defines ftms that must exist *prior to* std headers inclusion. The kernel ftms, however, are defined by the compiler, so we can use them. | |||
2019-10-10 | Fix path_canonicalize()'s returned length when absolute | Laurent Bercot | |
2019-10-09 | Add path_canonicalize, prepare for 2.9.1.0 | Laurent Bercot | |
2019-09-20 | THAT'S IT WE HAVE EASY CROSS-COMPILATION FOLKS | Laurent Bercot | |
2019-09-20 | We're down to ONE rogue sysdep, boys. ONE. | Laurent Bercot | |
2019-09-20 | sysdeps redesign: first part: minimize clr tests | Laurent Bercot | |
Remaining clr: emptyregex: can be safely guessed to no nullispointer: can't be safely guessed, but do we need the test? devurandom: can't be safely guessed malloc0: can more or less be safely guessed to no | |||
2019-09-06 | Change tain_now_set_* API: also give an initial value | Laurent Bercot | |
2019-09-04 | Also better when you actually pull the sysdeps | Laurent Bercot | |
2019-09-04 | With the correct sysdeps macros, please | Laurent Bercot | |
2019-09-03 | Big wallclock/stopwatch refactor. It was long overdue. | Laurent Bercot | |
* --enable-clock and --enable-monotonic are gone * tain_sysclock() has been renamed tain_wallclock_read() * tain_wallclock_read() reads from CLOCK_REALTIME (or gettimeofday()) * tain_clockmon[_init]() have been renamed to tain_stopwatch_[read|init]() and now accept a monotonic clock name as an extra argument * tain_now() points to the system (wall) clock by default * tain_now_set_[stopwatch|wallclock]() can be used to switch Now to make a pass on all skarnet.org programs and add a tain_now_set_stopwatch() call everywhere needed... >.> | |||
2019-08-07 | iopause_select: add protection against UB in FD_SET | Laurent Bercot | |
2019-07-31 | bugfix: env_dump() unterminated strings | Laurent Bercot | |
2019-07-23 | Typo fix | Laurent Bercot | |
2019-07-22 | Factor all the BSD complaints into one new header | Laurent Bercot | |
2019-07-22 | Rework skalibs/nonposix.h to avoid glibc squealing like a pig | Laurent Bercot | |
Also move a conformance workaround from nonposix.h to posixishard.h This may break things on MacOS, needs testing. | |||
2019-07-19 | bits-fmtscan refactor, part two | Laurent Bercot | |
2019-07-11 | bugfix: memcmp doesn't guarantee not touching bytes after cmp fails. | Laurent Bercot | |
2019-07-11 | Better with the new files added >.> | Laurent Bercot | |
2019-07-11 | bits-fmtscan refactor, part one | Laurent Bercot | |
2019-06-16 | child_spawn*: make sure posix_spawn() doesn't clobber pipes with dup2+close | Laurent Bercot | |
2019-05-11 | Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0 | Laurent Bercot | |
2019-05-07 | bugfix: proper sockaddr storage in socket_remote46 | Laurent Bercot | |
2019-03-09 | Respect POSIX "Seconds since the Epoch" when hitting a leap second | Laurent Bercot | |