summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-05 Solaris: get endianness info wherever we canLaurent Bercot
2021-02-01 Work around broken shells, including bash and dash. Yeah.Laurent Bercot
2021-01-27 Align infinity on 2^61Laurent Bercot
2021-01-19 version: 2.10.0.1v2.10.0.1Laurent Bercot
2021-01-19 Better deps.makLaurent Bercot
2021-01-15 Don't touch /dev/urandom when getrandom() existsLaurent Bercot
2021-01-14 Prepare for 2.10.0.1Laurent Bercot
2021-01-14 Undocument pathexec functions (replaced with exec.h stuff)Laurent Bercot
2021-01-12 bugfix: genqdyn_n() definitionLaurent Bercot
2021-01-10 version: 2.10.0.0v2.10.0.0Laurent Bercot
2021-01-02 INSTALL clarification about sysdepsLaurent Bercot
2021-01-02 Document latest changesLaurent Bercot
2020-12-28 Remove -fno-stack-protector from default CFLAGSLaurent Bercot
2020-12-14 Add chroot sysdep, fix endianness sysdep string in .hLaurent Bercot
2020-12-09 Add mkptemp2()Laurent Bercot
2020-12-09 Reflect changes in docLaurent Bercot
2020-12-09 Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot
Decent semantic header separation is hard. It's always an ongoing process. Here socket.h always included webipc.h for listen(), and webipc.h always included djbunix.h for socket_internal() and socketpair_internal(). That's ugh. Just move all the socket stuff into one socket header. Of course, djbunix.h is still needed most of the time for fd_close() and other operations on fds, but those are generic anyway. Also, O_CLOEXEC exists everywhere now, so we can use it as well as O_NONBLOCK instead of redefining the flags in djbunix.h.
2020-12-07 Some trivial bugfixes and cleanupsLaurent Bercot
2020-12-04 Fix iobufferk_init on recent Linux; remove last superfluous coeLaurent Bercot
2020-12-04 Add documenting comments to exec.hLaurent Bercot
2020-11-30 Fix sysdep lib filling of config.makLaurent Bercot
2020-11-29 Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0Laurent Bercot
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.
2020-11-26 Do not use skalibs/environ.hLaurent Bercot
2020-11-26 trivial bugfixLaurent Bercot
2020-11-25 child_spawn cleanup, configure cleanupLaurent Bercot
2020-11-25 Fix typosLaurent Bercot
2020-11-24 Complete revamp of the pathexec functionsLaurent 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_onLaurent Bercot
2020-11-20 Add fd_shutdown()Laurent Bercot
2020-11-08 Add mention of ipc_bind_reuse_lock() to changelogLaurent Bercot
2020-11-08 Add ipc_bind_reuse_lock, rewrite ipc_bind_reuse to use itLaurent Bercot
2020-11-08 remove non-working links in libbiguintLaurent 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_fdLaurent 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.makLaurent Bercot
2020-10-26 Prepare for 2.9.4.0; add open*coe() functions.Laurent Bercot
2020-10-04 version: 2.9.3.0v2.9.3.0Laurent Bercot
2020-10-04 doc: fix URLsLaurent Bercot
2020-09-18 Prepare for 2.9.3.0Laurent Bercot
2020-09-17 Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplusLaurent Bercot
2020-04-29 Correct alloc.h documentationLaurent Bercot
2020-04-29 Fix alloc_realloc UBLaurent 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-06 version: 2.9.2.1v2.9.2.1Laurent Bercot
2020-04-06 Prepare for 2.9.2.1Laurent Bercot
2020-04-04 bugfix: sigprocmask invocation on non-signalfd systemsLaurent Bercot
2020-03-30skalibs: fix html errorsColin Booth
Signed-off-by: Colin Booth <colin@heliocat.net>
2020-03-21 bugfix: do not include posixishard.h in an early header!Laurent Bercot
2020-03-02 version: 2.9.2.0v2.9.2.0Laurent Bercot
2020-02-26 Explicitly unblock signals when selfpiped without signalfdLaurent 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 testLaurent Bercot