aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* version: 2.13.1.1v2.13.1.1Laurent Bercot2023-04-021-3/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.13.1.1Laurent Bercot2023-03-235-3/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: typo in unix-timed.hLaurent Bercot2023-03-231-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.13.1.0v2.13.1.0Laurent Bercot2023-02-171-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tables should be constLaurent Bercot2023-02-123-4/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sals, several refactorsLaurent Bercot2023-02-099-94/+89
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.13.1.0Laurent Bercot2023-01-315-4/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Define SKALIBS_PATH_MAXLaurent Bercot2023-01-311-0/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* QoL: subgetopt should return ? on --longLaurent Bercot2023-01-211-10/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add bytestr.h docLaurent Bercot2023-01-181-1/+236
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix main dl linkLaurent Bercot2023-01-151-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.13.0.0v2.13.0.0Laurent Bercot2023-01-141-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove stdarg functions from strerr, everything is __VA_ARGS__ nowLaurent Bercot2023-01-137-101/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add siovec doc, fix siovec_trunc, credit ErmineLaurent Bercot2023-01-043-6/+120
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More strerr.h fixesLaurent Bercot2022-12-181-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* strerr.h fixesLaurent Bercot2022-12-181-12/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: uint16_pack and uint16_pack for big-endianLaurent Bercot2022-12-052-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Credit DuClareLaurent Bercot2022-11-301-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Much better strerr revamp, with __VA_ARGS__Laurent Bercot2022-11-3057-858/+220
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix strerr_warn7x definitionLaurent Bercot2022-11-291-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.13.0.0, revamp strerrLaurent Bercot2022-11-2983-513/+1083
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bits-template: fix typosLaurent Bercot2022-11-212-2/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.1.0; add buffer_timed_put(s)Laurent Bercot2022-10-2810-9/+43
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.2Laurent Bercot2022-10-145-3/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Doc fixes: remove _t from skalibs typesLaurent Bercot2022-09-277-94/+94
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better NSIG detection and fixLaurent Bercot2022-09-054-17/+16
| | | | | | | Incredibly enough, OpenBSD defines NSIG correctly, so our workaround was not accurate. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Include mitigation for BSD disease in sigaction wrapperLaurent Bercot2022-09-031-1/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't use arc4random() for early random on LinuxLaurent Bercot2022-07-231-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix allread errno managementLaurent Bercot2022-07-186-9/+17
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.12.0.1v2.12.0.1Laurent Bercot2022-06-231-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.1Laurent Bercot2022-06-234-2/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add runtime fallback for GRND_INSECURELaurent Bercot2022-06-231-3/+13
| | | | | | | | | | | | | | | | | | | 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>
* version: 2.12.0.0v2.12.0.0Laurent Bercot2022-06-141-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Export random_devurandom, fix APIsLaurent Bercot2022-06-086-17/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Clean up / homogenize openreadnclose() familyLaurent Bercot2022-06-089-42/+40
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove unused variable in generic selfpipe_trapLaurent Bercot2022-06-041-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add blake2s implementation to stdcryptoLaurent Bercot2022-06-018-1/+181
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Rework endianness conversion primitivesLaurent Bercot2022-06-0153-108/+174
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add openc_*at functionsLaurent Bercot2022-05-3019-18/+130
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add waitn_posix() and waitn_reap_posix()Laurent Bercot2022-04-159-21/+70
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Doc fixLaurent Bercot2022-04-111-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove uint32_func definitionLaurent Bercot2022-04-091-3/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.0. librandom revamp.Laurent Bercot2022-04-0929-338/+279
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sysdep for GRND_INSECURELaurent Bercot2022-03-272-0/+17
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't write to /dev/urandom. (It's useless or even harmful.)Laurent Bercot2022-03-272-7/+1
|
* Doc fixLaurent Bercot2022-03-201-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Doc fixesLaurent Bercot2022-03-163-5/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.11.2.0v2.11.2.0Laurent Bercot2022-03-081-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix envdir_noclampLaurent Bercot2022-02-271-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.2.0Laurent Bercot2022-02-254-2/+21
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>