Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix iobufferk_init on recent Linux; remove last superfluous coe | Laurent Bercot | 2020-12-04 | 3 | -20/+9 | |
| | ||||||
* | Add documenting comments to exec.h | Laurent Bercot | 2020-12-04 | 1 | -26/+19 | |
| | ||||||
* | Fix sysdep lib filling of config.mak | Laurent Bercot | 2020-11-30 | 2 | -4/+9 | |
| | ||||||
* | Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0 | Laurent Bercot | 2020-11-29 | 19 | -237/+101 | |
| | | | | | | | | | | | flock() doesn't have a way to test for a lock without taking it. lockf() doesn't have shared locks. The only way to have both is fcntl(). So I rewrote all the locking stuff around fcntl(), and used the opportunity to change the interface. The point of changing the interface is to stop having to bother with the old one, so to hell with compatibility, let's just do a major bump. | |||||
* | Do not use skalibs/environ.h | Laurent Bercot | 2020-11-26 | 2 | -10/+10 | |
| | ||||||
* | trivial bugfix | Laurent Bercot | 2020-11-26 | 1 | -1/+1 | |
| | ||||||
* | child_spawn cleanup, configure cleanup | Laurent Bercot | 2020-11-25 | 7 | -209/+230 | |
| | ||||||
* | Fix typos | Laurent Bercot | 2020-11-25 | 1 | -9/+9 | |
| | ||||||
* | Complete revamp of the pathexec functions | Laurent Bercot | 2020-11-24 | 54 | -209/+435 | |
| | | | | | | | | | | | | | | | | | - 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 | |||||
* | Save syscalls on coe and ndelay_on | Laurent Bercot | 2020-11-23 | 4 | -6/+4 | |
| | ||||||
* | Add fd_shutdown() | Laurent Bercot | 2020-11-20 | 4 | -1/+27 | |
| | ||||||
* | Add mention of ipc_bind_reuse_lock() to changelog | Laurent Bercot | 2020-11-08 | 2 | -0/+7 | |
| | ||||||
* | Add ipc_bind_reuse_lock, rewrite ipc_bind_reuse to use it | Laurent Bercot | 2020-11-08 | 4 | -8/+33 | |
| | ||||||
* | remove non-working links in libbiguint | Laurent Bercot | 2020-11-08 | 2 | -2/+1 | |
| | ||||||
* | Refactor textmessage/textclient with channel creation around ancil_* | Laurent Bercot | 2020-10-26 | 9 | -76/+120 | |
| | ||||||
* | Separate and expose ancil_recv_fd/ancil_send_fd | Laurent Bercot | 2020-10-26 | 27 | -118/+162 | |
| | | | | | | | 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. | |||||
* | Change new function names to openc_*; update deps.mak | Laurent Bercot | 2020-10-26 | 18 | -34/+42 | |
| | ||||||
* | Prepare for 2.9.4.0; add open*coe() functions. | Laurent Bercot | 2020-10-26 | 20 | -9/+166 | |
| | ||||||
* | version: 2.9.3.0 v2.9.3.0 | Laurent Bercot | 2020-10-04 | 1 | -1/+1 | |
| | ||||||
* | doc: fix URLs | Laurent Bercot | 2020-10-04 | 20 | -91/+88 | |
| | ||||||
* | Prepare for 2.9.3.0 | Laurent Bercot | 2020-09-18 | 7 | -4/+42 | |
| | ||||||
* | Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplus | Laurent Bercot | 2020-09-17 | 3 | -1/+15 | |
| | ||||||
* | Correct alloc.h documentation | Laurent Bercot | 2020-04-29 | 1 | -5/+6 | |
| | ||||||
* | Fix alloc_realloc UB | Laurent Bercot | 2020-04-29 | 4 | -5/+5 | |
| | | | | | | | | | | | | | 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. | |||||
* | version: 2.9.2.1 v2.9.2.1 | Laurent Bercot | 2020-04-06 | 1 | -0/+1 | |
| | ||||||
* | Prepare for 2.9.2.1 | Laurent Bercot | 2020-04-06 | 4 | -2/+14 | |
| | ||||||
* | bugfix: sigprocmask invocation on non-signalfd systems | Laurent Bercot | 2020-04-04 | 2 | -1/+2 | |
| | ||||||
* | skalibs: fix html errors | Colin Booth | 2020-03-30 | 6 | -10/+8 | |
| | | | | Signed-off-by: Colin Booth <colin@heliocat.net> | |||||
* | bugfix: do not include posixishard.h in an early header! | Laurent Bercot | 2020-03-21 | 2 | -2/+1 | |
| | ||||||
* | version: 2.9.2.0 v2.9.2.0 | Laurent Bercot | 2020-03-02 | 1 | -1/+0 | |
| | ||||||
* | Explicitly unblock signals when selfpiped without signalfd | Laurent Bercot | 2020-02-26 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | execvep_internal: accommodate broken PATHs with ENOTDIR test | Laurent Bercot | 2020-02-19 | 1 | -1/+1 | |
| | ||||||
* | bugfix: env_merge didn't correctly handle variable removal | Laurent Bercot | 2020-02-10 | 2 | -1/+3 | |
| | ||||||
* | Fix Solaris patching script | Laurent Bercot | 2020-02-09 | 1 | -1/+1 | |
| | ||||||
* | Make sagethostname() work with all glibcs | Laurent Bercot | 2020-01-30 | 1 | -4/+11 | |
| | ||||||
* | Put correct /library.so back into Makefile | Laurent Bercot | 2020-01-27 | 1 | -0/+3 | |
| | ||||||
* | Fix shared libs installation; prepare for 2.9.2.0 | Laurent Bercot | 2020-01-27 | 6 | -9/+18 | |
| | ||||||
* | Simplify endianness test | Laurent Bercot | 2019-10-26 | 1 | -31/+14 | |
| | ||||||
* | Switch getrandom sysdep back to choose cl | Laurent Bercot | 2019-10-26 | 3 | -6/+9 | |
| | ||||||
* | Better bigkv | Laurent Bercot | 2019-10-25 | 6 | -68/+81 | |
| | ||||||
* | Add bigkv | Laurent Bercot | 2019-10-25 | 7 | -1/+141 | |
| | ||||||
* | Document that getrandom is now clr | Laurent Bercot | 2019-10-25 | 1 | -4/+10 | |
| | ||||||
* | getrandom sysdep must be clr, THANKS GLIBC | Laurent Bercot | 2019-10-25 | 1 | -3/+2 | |
| | ||||||
* | Also fix documentation for default path | Laurent Bercot | 2019-10-23 | 1 | -1/+1 | |
| | ||||||
* | Remove obsolete documentation for --enable-clock | Laurent Bercot | 2019-10-23 | 1 | -27/+0 | |
| | ||||||
* | version: 2.9.1.0 v2.9.1.0 | Laurent Bercot | 2019-10-21 | 2 | -1/+4 | |
| | ||||||
* | Real fix for undefined PATH_MAX | Laurent Bercot | 2019-10-20 | 1 | -1/+13 | |
| | ||||||
* | Don't rely on the existence of PATH_MAX | Laurent Bercot | 2019-10-20 | 1 | -2/+1 | |
| | ||||||
* | __GNU__ is actually preferred to __gnu_hurd__, it seems | Laurent Bercot | 2019-10-18 | 1 | -6/+7 | |
| | ||||||
* | nonposix.h: define _GNU_SOURCE for Hurd, remove __GLIBC__ test | Laurent Bercot | 2019-10-17 | 1 | -3/+3 | |
| | | | | | | | | | | __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. |