about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix iobufferk_init on recent Linux; remove last superfluous coeLaurent Bercot2020-12-043-20/+9
|
* Add documenting comments to exec.hLaurent Bercot2020-12-041-26/+19
|
* Fix sysdep lib filling of config.makLaurent Bercot2020-11-302-4/+9
|
* Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0Laurent Bercot2020-11-2919-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.hLaurent Bercot2020-11-262-10/+10
|
* trivial bugfixLaurent Bercot2020-11-261-1/+1
|
* child_spawn cleanup, configure cleanupLaurent Bercot2020-11-257-209/+230
|
* Fix typosLaurent Bercot2020-11-251-9/+9
|
* Complete revamp of the pathexec functionsLaurent Bercot2020-11-2454-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_onLaurent Bercot2020-11-234-6/+4
|
* Add fd_shutdown()Laurent Bercot2020-11-204-1/+27
|
* Add mention of ipc_bind_reuse_lock() to changelogLaurent Bercot2020-11-082-0/+7
|
* Add ipc_bind_reuse_lock, rewrite ipc_bind_reuse to use itLaurent Bercot2020-11-084-8/+33
|
* remove non-working links in libbiguintLaurent Bercot2020-11-082-2/+1
|
* Refactor textmessage/textclient with channel creation around ancil_*Laurent Bercot2020-10-269-76/+120
|
* Separate and expose ancil_recv_fd/ancil_send_fdLaurent Bercot2020-10-2627-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.makLaurent Bercot2020-10-2618-34/+42
|
* Prepare for 2.9.4.0; add open*coe() functions.Laurent Bercot2020-10-2620-9/+166
|
* version: 2.9.3.0 v2.9.3.0Laurent Bercot2020-10-041-1/+1
|
* doc: fix URLsLaurent Bercot2020-10-0420-91/+88
|
* Prepare for 2.9.3.0Laurent Bercot2020-09-187-4/+42
|
* Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplusLaurent Bercot2020-09-173-1/+15
|
* Correct alloc.h documentationLaurent Bercot2020-04-291-5/+6
|
* Fix alloc_realloc UBLaurent Bercot2020-04-294-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.1Laurent Bercot2020-04-061-0/+1
|
* Prepare for 2.9.2.1Laurent Bercot2020-04-064-2/+14
|
* bugfix: sigprocmask invocation on non-signalfd systemsLaurent Bercot2020-04-042-1/+2
|
* skalibs: fix html errorsColin Booth2020-03-306-10/+8
| | | | Signed-off-by: Colin Booth <colin@heliocat.net>
* bugfix: do not include posixishard.h in an early header!Laurent Bercot2020-03-212-2/+1
|
* version: 2.9.2.0 v2.9.2.0Laurent Bercot2020-03-021-1/+0
|
* Explicitly unblock signals when selfpiped without signalfdLaurent Bercot2020-02-262-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 testLaurent Bercot2020-02-191-1/+1
|
* bugfix: env_merge didn't correctly handle variable removalLaurent Bercot2020-02-102-1/+3
|
* Fix Solaris patching scriptLaurent Bercot2020-02-091-1/+1
|
* Make sagethostname() work with all glibcsLaurent Bercot2020-01-301-4/+11
|
* Put correct /library.so back into MakefileLaurent Bercot2020-01-271-0/+3
|
* Fix shared libs installation; prepare for 2.9.2.0Laurent Bercot2020-01-276-9/+18
|
* Simplify endianness testLaurent Bercot2019-10-261-31/+14
|
* Switch getrandom sysdep back to choose clLaurent Bercot2019-10-263-6/+9
|
* Better bigkvLaurent Bercot2019-10-256-68/+81
|
* Add bigkvLaurent Bercot2019-10-257-1/+141
|
* Document that getrandom is now clrLaurent Bercot2019-10-251-4/+10
|
* getrandom sysdep must be clr, THANKS GLIBCLaurent Bercot2019-10-251-3/+2
|
* Also fix documentation for default pathLaurent Bercot2019-10-231-1/+1
|
* Remove obsolete documentation for --enable-clockLaurent Bercot2019-10-231-27/+0
|
* version: 2.9.1.0 v2.9.1.0Laurent Bercot2019-10-212-1/+4
|
* Real fix for undefined PATH_MAXLaurent Bercot2019-10-201-1/+13
|
* Don't rely on the existence of PATH_MAXLaurent Bercot2019-10-201-2/+1
|
* __GNU__ is actually preferred to __gnu_hurd__, it seemsLaurent Bercot2019-10-181-6/+7
|
* nonposix.h: define _GNU_SOURCE for Hurd, remove __GLIBC__ testLaurent Bercot2019-10-171-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.