summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-09-09 Revamp cspawn, part 2Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-09 cspawn revamp, part 1. Prepare for 2.14.0.0.Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-08 Make child_spawn_workaround publicLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-08-08 Fix back slurpnLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-13 error message typo fixLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-06 More more jjk fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-06 More jjk fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-03 Refactor cdbmake, add cdbmake_addv, cdb_hashvLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-29 posix_spawn workaround fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-28 Add workaround for bad QoI posix_spawn()Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-23 Apply fixes suggested by jjkLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-23 Use less stack with avlnodeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-13 Fix iter_func type; add tain_earliestLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-09 Better posixishard.hLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-09 Add SKALIBS_NAME_MAXLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-09 Typo fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-09 Add devino, refactor openwrite(v)ncloseLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-02 Still declare hiercopy_tmpLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-01 Refactor to add hiercopy_loose (for s6-l-i)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-25 Grab as many signals as possible in sig_tableLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-18 More more avltree macro fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-18 More avltree macro fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-18 Add slurpn, refactor slurp, fix avltree/cdbmake bugs, add strerr_warnfLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-04-07 Add selfpipe_fd(), refactor selfpipeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-03-23 bugfix: typo in unix-timed.hLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-12 Tables should be constLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-09 Add sals, several refactorsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-31 Define SKALIBS_PATH_MAXLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-21 QoL: subgetopt should return ? on --longLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-13 Remove stdarg functions from strerr, everything is __VA_ARGS__ nowLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-04 Add siovec doc, fix siovec_trunc, credit ErmineLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-12-18 More strerr.h fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-12-18 strerr.h fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-12-05 bugfix: uint16_pack and uint16_pack for big-endianLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-30 Much better strerr revamp, with __VA_ARGS__Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-29 Fix strerr_warn7x definitionLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-29 Prepare for 2.13.0.0, revamp strerrLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-21 bits-template: fix typosLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-10-28 Prepare for 2.12.1.0; add buffer_timed_put(s)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-09-05 Better NSIG detection and fixLaurent Bercot
Incredibly enough, OpenBSD defines NSIG correctly, so our workaround was not accurate. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-09-03 Include mitigation for BSD disease in sigaction wrapperLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-07-23 Don't use arc4random() for early random on LinuxLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-07-18 Fix allread errno managementLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-23 Add runtime fallback for GRND_INSECURELaurent Bercot
The grndinsecure sysdep is only build-time tested and returns yes if the kernel headers declare GRND_INSECURE. That is a problem because the kernel headers are most likely provided by the toolchain and do not reflect the exact capabilities of the run-time kernel. If the run-time kernel doesn't support that option, getrandom() fails. That made random_buf_early() busyloop. To avoid that, we now fallback to random_devurandom() as an implementation of random_buf_early() if getrandom() fails when used with GRND_INSECURE. This adds a slight amount of overhead to random_buf_early(), so it's probably better to just disable the sysdep at build time if you're making binaries that will run on older kernels. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-08 Export random_devurandom, fix APIsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-08 Clean up / homogenize openreadnclose() familyLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-04 Remove unused variable in generic selfpipe_trapLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-01 Add blake2s implementation to stdcryptoLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-01 Rework endianness conversion primitivesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-05-30 Add openc_*at functionsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>