| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | More arc4random_addrandom fixes, how can clang be such a PITA ? | Laurent Bercot | 2017-03-16 | 1 | -1/+1 |
| | | |||||
| * | Fix arc4random_addrandom detection for -Werror=pointer-sign | Laurent Bercot | 2017-03-16 | 1 | -1/+2 |
| | | |||||
| * | Fix unixmessage_putv() (the normal message wasn't taken into account!) | Laurent Bercot | 2017-03-15 | 2 | -2/+2 |
| | | |||||
| * | Better pipe2 detection on BSD systems | Laurent Bercot | 2017-03-15 | 2 | -10/+15 |
| | | |||||
| * | Fix trydevurandom test | Laurent Bercot | 2017-03-15 | 1 | -1/+1 |
| | | |||||
| * | sysdeps tests cleanup. (I expect BSDs to break, as usual.) | Laurent Bercot | 2017-03-15 | 30 | -77/+24 |
| | | |||||
| * | More fixes in lesser-explored #define paths | Laurent Bercot | 2017-03-14 | 1 | -0/+1 |
| | | |||||
| * | Fix iobufferk_flush typo | Laurent Bercot | 2017-03-14 | 1 | -1/+1 |
| | | |||||
| * | More superflous headers cleanup and tiny fixes | Laurent Bercot | 2017-03-13 | 280 | -380/+34 |
| | | |||||
| * | Cleanups - mostly removing superfluous includes in headers | Laurent Bercot | 2017-03-13 | 18 | -34/+15 |
| | | |||||
| * | Types change: switch libdatastruct to uint32_t | Laurent Bercot | 2017-02-22 | 57 | -164/+203 |
| | | | | | Still needs to be reviewed. | ||||
| * | Types change: big pass on libstddjb and libunixonacid | Laurent Bercot | 2017-02-21 | 318 | -888/+768 |
| | | | | | libdatastruct still missing, library still not functional | ||||
| * | More types changes | Laurent Bercot | 2017-02-17 | 203 | -1366/+928 |
| | | | | | | | | | | New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet | ||||
| * | add arc4random_addrandom sysdep; next batch of types changes. | Laurent Bercot | 2017-02-15 | 81 | -349/+300 |
| | | | | | | The library isn't supposed to be functional yet: there are still a lot of type mismatches. | ||||
| * | More work on the types. This commit builds but has errors. | Laurent Bercot | 2017-01-25 | 134 | -762/+620 |
| | | | | | | | | Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul. | ||||
| * | Types fix: librandom, libstdcrypto | Laurent Bercot | 2017-01-21 | 33 | -188/+207 |
| | | |||||
| * | Types fix, start: preparation and libbiguint | Laurent Bercot | 2017-01-21 | 30 | -113/+123 |
| | | |||||
| * | Also fix actual random_string compilation with musl and getrandom()... | Laurent Bercot | 2016-12-05 | 1 | -0/+1 |
| | | |||||
| * | Fix trygetrandom.c to correctly detect getrandom() on musl | Laurent Bercot | 2016-12-05 | 1 | -0/+1 |
| | | |||||
| * | Zero errno on EOF in allreadwrite() | Laurent Bercot | 2016-11-27 | 1 | -1/+5 |
| | | |||||
| * | random_init: do not fail if we can't write to /dev/urandom | Laurent Bercot | 2016-11-03 | 1 | -4/+3 |
| | | |||||
| * | More strict test for SKALIBS_HASTIMER (must have struct itimerspec and ↵ | Laurent Bercot | 2016-10-24 | 1 | -2/+4 |
| | | | | | struct sigevent too) | ||||
| * | Add the alarm library, first draft. | Laurent Bercot | 2016-10-24 | 10 | -2/+266 |
| | | |||||
| * | This one escaped the previous commit: random_init changes | Laurent Bercot | 2016-10-24 | 1 | -10/+14 |
| | | |||||
| * | Better random_uint32 uniformity algorithm | Laurent Bercot | 2016-10-19 | 1 | -30/+9 |
| | | |||||
| * | Add child_spawn2 | Laurent Bercot | 2016-10-19 | 2 | -0/+160 |
| | | |||||
| * | bugfix: child_spawn() error path now closes the right amount of fds | Laurent Bercot | 2016-10-19 | 1 | -1/+2 |
| | | |||||
| * | Fix headers in random_init.c; add a workaround for (pathological) ↵ | Laurent Bercot | 2016-10-16 | 1 | -0/+6 |
| | | | | | getrandom() without /dev/urandom | ||||
| * | More typo fixing | Laurent Bercot | 2016-10-14 | 2 | -1/+2 |
| | | |||||
| * | Add a cast to arc4random_addrandom invocation to make clang happy | Laurent Bercot | 2016-10-14 | 1 | -1/+1 |
| | | |||||
| * | Include skalibs/nonposix.h so BSDs can find arc4random | Laurent Bercot | 2016-10-14 | 3 | -0/+4 |
| | | |||||
| * | Clean up and modernize librandom. | Laurent Bercot | 2016-10-14 | 63 | -992/+334 |
| | | | | | | | | | | | | | | | | | | | | | | | Correct random number generation has historically been suprisingly painful to achieve. There was no standard, every system behaved in a subtly different way, and there were a few userland initiatives to get decent randomness, all incompatible of course. The situation is a bit better now, we're heading towards some standardization. The arc4random() series of functions is a good API, and available on a lot of systems - unfortunately not Linux, but on Linux the new getrandom() makes using /dev/random obsolete. So I removed the old crap in librandom, dropped EGD support, dropped dynamic backend selection, made a single API series (random_* instead of goodrandom_* and badrandom_*), added an arc4random backend and a getrandom backend, and defaulted to /dev/urandom backed up by SURF in the worst case. This should be much smaller and logical. However, it's a major API break, so the skarnet.org stack will be changed to adapt. | ||||
| * | ipc_timed_send workaround for the usual OpenBSD braindead headers | Laurent Bercot | 2016-07-24 | 1 | -1/+4 |
| | | |||||
| * | Actually call ipc_timed_recv ipc_timed_recv | Laurent Bercot | 2016-07-20 | 2 | -3/+3 |
| | | |||||
| * | Add ipc_timed_recv | Laurent Bercot | 2016-07-20 | 3 | -0/+33 |
| | | |||||
| * | Add ipc_timed_send | Laurent Bercot | 2016-07-20 | 2 | -0/+34 |
| | | |||||
| * | add new leap second: 2016-12-31 23:59:60 UTC | Laurent Bercot | 2016-07-17 | 1 | -3/+4 |
| | | |||||
| * | bitarray_not: Fix skipping a byte | Olivier Brunel | 2016-05-14 | 1 | -1/+1 |
| | | | | | Signed-off-by: Olivier Brunel <jjk@jjacky.com> | ||||
| * | Fix tryfutimens.c header inclusion. The test should be good now... | Laurent Bercot | 2016-04-27 | 1 | -0/+4 |
| | | |||||
| * | Help Solaris finds its own futimens() in its own ass | Laurent Bercot | 2016-04-27 | 2 | -3/+6 |
| | | |||||
| * | Even less standards for futimes() | Laurent Bercot | 2016-04-27 | 1 | -0/+2 |
| | | |||||
| * | futimes() is not POSIX, so add some ftms | Laurent Bercot | 2016-04-27 | 2 | -1/+8 |
| | | |||||
| * | Add new sysdeps for futimens() and futimes(), adapt touch() implementation | Laurent Bercot | 2016-04-27 | 3 | -0/+60 |
| | | |||||
| * | Bugfix: exec the child when not SKALIBS_HASPOSIXSPAWN in child_spawn0 ↵ | Laurent Bercot | 2016-04-22 | 1 | -1/+1 |
| | | | | | (thanks eto) | ||||
| * | Fix closecb support wherever a unixmessage may get dropped; add closecb ↵ | Laurent Bercot | 2016-04-22 | 8 | -15/+25 |
| | | | | | support to unixconnection | ||||
| * | Tentative re-commit of the closecb feature | Laurent Bercot | 2016-02-02 | 5 | -11/+39 |
| | | |||||
| * | Revert " Add support for advanced closing callbacks to ↵ | Laurent Bercot | 2016-02-02 | 5 | -39/+11 |
| | | | | | | | | | unixmessage_sender_flush." This reverts commit c9c7e241a7b68f67e0cc8a7d3874510dced532d6. (something is segfaulting, reverting until I find the fix) | ||||
| * | Add support for advanced closing callbacks to unixmessage_sender_flush. | Laurent Bercot | 2016-01-18 | 5 | -11/+39 |
| | | | | | | (Typically, this will be used for refcounting when broadcasting copies of the same fd.) | ||||
| * | Fix/clarify utilisations of 'char' (thanks Esben Haabendal) | Laurent Bercot | 2016-01-14 | 5 | -10/+10 |
| | | |||||
| * | Add bitarray_first{clear,set}_skip (thx jjk) | Laurent Bercot | 2016-01-05 | 3 | -0/+35 |
| | | | | | version: rc for 2.3.9.0 after Makefile fix | ||||
