summaryrefslogtreecommitdiff
path: root/src/libstddjb
AgeCommit message (Collapse)Author
2023-09-11 Fix cspawn when lack of flags or actionsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Remove deprecated *writeclose_unsafe stuffLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-10 Add POSIX_SPAWN_SETSID support to cspawnLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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-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-13 Fix iter_func type; add tain_earliestLaurent 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-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 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-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-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-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 Prepare for 2.13.0.0, revamp strerrLaurent 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-18 Fix allread errno managementLaurent 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 Rework endianness conversion primitivesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-04-15 Add waitn_posix() and waitn_reap_posix()Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-02-25 Don't autoshrink after slurpingLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-02-17 Full errno paranoia in selfpipe signal handlerLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-12-04 Add opendir_at, prepare for 2.11.1.0Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-09-25 Axe iobufferLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-09-02 Don't forget child_spawn eitherLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-09-02 Infinite recursion my ass cheeksLaurent Bercot
Sometimes clang warnings have a point. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-26 fix selfpipe_tophalf typeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-22 Add ipc_bind_reuse_permsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-18 Add tain_infiniteLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-29 Add sig_altignore()2.11.0.0Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-28 Huge incompatible changes.Laurent Bercot
- Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-24 Don't use dirfd as an identifierLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-24 Hide cdb_find_state in the common caseLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-24 Add cdb_init_at and cdb_init_fromfd, rename cdb_readerLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-23 New 2.11.0.0 branch with several modificationsLaurent Bercot
- libbiguint removed - cdb_make changed to cdbmake (because different ui) - cdb redesigned Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-07-21 Save errno when freeing a cdbLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-06-30 bugfix: offset in cdb mmapLaurent Bercot
An offset of -1 worked because most OSes treat it as 0, but DS9k would fail on it. Signed-off-by: Laurent Bercot <ska@appnovation.com>