summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-15 add arc4random_addrandom sysdep; next batch of types changes.Laurent Bercot
The library isn't supposed to be functional yet: there are still a lot of type mismatches.
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, libstdcryptoLaurent Bercot
2017-01-21 Types fix, start: preparation and libbiguintLaurent 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 muslLaurent Bercot
2016-12-03 version: 2.4.0.2v2.4.0.2Laurent Bercot
2016-11-27 Prepare for version 2.4.0.2Laurent Bercot
2016-11-27 Zero errno on EOF in allreadwrite()Laurent Bercot
2016-11-04 version: 2.4.0.1v2.4.0.1Laurent Bercot
2016-11-04 Remove obsolete flags from flags.html, prepare for 2.4.0.1Laurent Bercot
2016-11-03 random_init: do not fail if we can't write to /dev/urandomLaurent Bercot
2016-10-29 bugfix: correctly read timer_lib when cross-compilingLaurent Bercot
2016-10-28 version: 2.4.0.0v2.4.0.0Laurent Bercot
2016-10-24 Real fix for the shared lib dep: correctly DT_NEEDED timer_libLaurent Bercot
2016-10-24 Add timer_lib for support (GNU requires -lrt for timer_create!)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 changesLaurent Bercot
2016-10-19 Better random_uint32 uniformity algorithmLaurent Bercot
2016-10-19 child_spawn2 documentationLaurent Bercot
2016-10-19 Add child_spawn2Laurent Bercot
2016-10-19 bugfix: child_spawn() error path now closes the right amount of fdsLaurent Bercot
2016-10-16 Fix headers in random_init.c; add a workaround for (pathological) ↵Laurent Bercot
getrandom() without /dev/urandom
2016-10-16 Revert SKALIBS_DEFAULTPATH to /usr/bin:/binLaurent Bercot
2016-10-14 More typo fixingLaurent Bercot
2016-10-14 Add a cast to arc4random_addrandom invocation to make clang happyLaurent Bercot
2016-10-14 Include skalibs/nonposix.h so BSDs can find arc4randomLaurent 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-09-27 configure: allow $CC to have several wordsLaurent Bercot
2016-09-26 Replace c99 compiler test with clangLaurent Bercot
2016-08-12 ... if I stop being an idiotLaurent Bercot
2016-08-12 Finally make spawn.lib work everywhereLaurent Bercot
2016-08-12 And the next iteration!Laurent Bercot
2016-08-12 Next iteration... BSD shells are BROKENLaurent Bercot
2016-08-12 Redirections are hard for the BSD shellsLaurent Bercot
2016-08-12 Next iteration of the spawn.lib experimentLaurent Bercot
2016-08-12 Solaris fix attempt for spawn.lib detectionLaurent Bercot
2016-08-12 Add spawn_lib supportLaurent Bercot
2016-08-11 doc typo fixLaurent Bercot
2016-08-10 Fix posix_spawn() autodetection (it can be in librt)Laurent Bercot
2016-07-24 ipc_timed_send workaround for the usual OpenBSD braindead headersLaurent Bercot
2016-07-20 Actually call ipc_timed_recv ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_sendLaurent Bercot
2016-07-17 add new leap second: 2016-12-31 23:59:60 UTCLaurent Bercot
2016-05-14bitarray_not: Fix skipping a byteOlivier 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 assLaurent Bercot
2016-04-27 Even less standards for futimes()Laurent Bercot