Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-25 | More work on the types. This commit builds but has errors. | Laurent Bercot | |
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. | |||
2017-01-21 | Types fix: librandom, libstdcrypto | Laurent Bercot | |
2017-01-21 | Types fix, start: preparation and libbiguint | Laurent Bercot | |
2016-12-05 | Also fix actual random_string compilation with musl and getrandom()... | Laurent Bercot | |
2016-12-05 | Fix trygetrandom.c to correctly detect getrandom() on musl | Laurent Bercot | |
2016-11-27 | Zero errno on EOF in allreadwrite() | Laurent Bercot | |
2016-11-03 | random_init: do not fail if we can't write to /dev/urandom | Laurent Bercot | |
2016-10-24 | More strict test for SKALIBS_HASTIMER (must have struct itimerspec and ↵ | Laurent Bercot | |
struct sigevent too) | |||
2016-10-24 | Add the alarm library, first draft. | Laurent Bercot | |
2016-10-24 | This one escaped the previous commit: random_init changes | Laurent Bercot | |
2016-10-19 | Better random_uint32 uniformity algorithm | Laurent Bercot | |
2016-10-19 | Add child_spawn2 | Laurent Bercot | |
2016-10-19 | bugfix: child_spawn() error path now closes the right amount of fds | Laurent Bercot | |
2016-10-16 | Fix headers in random_init.c; add a workaround for (pathological) ↵ | Laurent Bercot | |
getrandom() without /dev/urandom | |||
2016-10-14 | More typo fixing | Laurent Bercot | |
2016-10-14 | Add a cast to arc4random_addrandom invocation to make clang happy | Laurent Bercot | |
2016-10-14 | Include skalibs/nonposix.h so BSDs can find arc4random | Laurent Bercot | |
2016-10-14 | Clean up and modernize librandom. | Laurent Bercot | |
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. | |||
2016-07-24 | ipc_timed_send workaround for the usual OpenBSD braindead headers | Laurent Bercot | |
2016-07-20 | Actually call ipc_timed_recv ipc_timed_recv | Laurent Bercot | |
2016-07-20 | Add ipc_timed_recv | Laurent Bercot | |
2016-07-20 | Add ipc_timed_send | Laurent Bercot | |
2016-07-17 | add new leap second: 2016-12-31 23:59:60 UTC | Laurent Bercot | |
2016-05-14 | bitarray_not: Fix skipping a byte | Olivier Brunel | |
Signed-off-by: Olivier Brunel <jjk@jjacky.com> | |||
2016-04-27 | Fix tryfutimens.c header inclusion. The test should be good now... | Laurent Bercot | |
2016-04-27 | Help Solaris finds its own futimens() in its own ass | Laurent Bercot | |
2016-04-27 | Even less standards for futimes() | Laurent Bercot | |
2016-04-27 | futimes() is not POSIX, so add some ftms | Laurent Bercot | |
2016-04-27 | Add new sysdeps for futimens() and futimes(), adapt touch() implementation | Laurent Bercot | |
2016-04-22 | Bugfix: exec the child when not SKALIBS_HASPOSIXSPAWN in child_spawn0 ↵ | Laurent Bercot | |
(thanks eto) | |||
2016-04-22 | Fix closecb support wherever a unixmessage may get dropped; add closecb ↵ | Laurent Bercot | |
support to unixconnection | |||
2016-02-02 | Tentative re-commit of the closecb feature | Laurent Bercot | |
2016-02-02 | Revert " Add support for advanced closing callbacks to ↵ | Laurent Bercot | |
unixmessage_sender_flush." This reverts commit c9c7e241a7b68f67e0cc8a7d3874510dced532d6. (something is segfaulting, reverting until I find the fix) | |||
2016-01-18 | Add support for advanced closing callbacks to unixmessage_sender_flush. | Laurent Bercot | |
(Typically, this will be used for refcounting when broadcasting copies of the same fd.) | |||
2016-01-14 | Fix/clarify utilisations of 'char' (thanks Esben Haabendal) | Laurent Bercot | |
2016-01-05 | Add bitarray_first{clear,set}_skip (thx jjk) | Laurent Bercot | |
version: rc for 2.3.9.0 after Makefile fix | |||
2016-01-05 | Fix incorrect clear/set when b&7 = 0 in bitarray_clearsetn (thx jjk) | Laurent Bercot | |
2015-11-04 | Remove printing of useless nonvariable option char in sgetopt (thx Michael Zuo) | Laurent Bercot | |
2015-10-21 | Fix comments in make-leapseconds_table | Laurent Bercot | |
2015-10-14 | - Remove /etc/leapsecs.datv2.3.8.0 | Laurent Bercot | |
- Publish tools to create the leap second table as a .c - Simplify functions using leap seconds - rc for 2.3.8.0 | |||
2015-10-05 | - Fix double macro expansion bug in cbuffer_get* and cbuffer_put* | Laurent Bercot | |
- rc for 2.3.7.1 | |||
2015-08-25 | Add touch, filecopy_unsafe, filecopy_suffix | Laurent Bercot | |
2015-08-13 | Add atomic_rm_rf and atomic_rm_rf_tmp | Laurent Bercot | |
2015-07-26 | Bugfix: wrong storage size in socket_local46 (thanks Jesse Young)v2.3.6.0 | Laurent Bercot | |
2015-07-20 | - fd_close fix | Laurent Bercot | |
- add openreadnclose_nb - rc for 2.3.6.0 | |||
2015-07-13 | - sysdeps for strnlen (Solaris... sigh) | Laurent Bercot | |
- rc for 2.3.5.2 | |||
2015-06-25 | Appease compiler on .sun_family in ipc_recv | Laurent Bercot | |
2015-06-08 | - Update leap second tablev2.3.5.1 | Laurent Bercot | |
- version: 2.3.5.1 | |||
2015-06-03 | Bugfix: remove overflow checking in tai?_add/subv2.3.5.0 | Laurent Bercot | |
(because it doesn't work with relative times, duh!) | |||
2015-06-02 | Turn non-linear buffer macros calling str_len() into functions. >.> | Laurent Bercot | |