Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-22 | Fix openreadnclose failing if errno was nonzero before (thanks jjk) | Laurent Bercot | |
2017-05-18 | Add xpathexec_* functions, prepare for 2.5.1.0 | Laurent Bercot | |
2017-05-16 | Accommodate some broken GNU toolchains by including sys/types.h in sysdeps ↵ | Laurent Bercot | |
tests | |||
2017-05-15 | bugfixes: invalid clockmon detection and futimens detection | Laurent Bercot | |
2017-05-12 | bugfix: error reporting in openreadclose | Laurent Bercot | |
2017-05-10 | Remove byte_copy invocation from ip46-without | Laurent Bercot | |
2017-04-30 | Adjust ftms for trysetgroups.c (glibc changed APIs without major version ↵ | Laurent Bercot | |
bump -_-) | |||
2017-04-30 | Add _DEFAULT_SOURCE ftm to skalibs/nonposix.h | Laurent Bercot | |
2017-04-28 | Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to ↵ | Laurent Bercot | |
accommodate OpenBSD snowflakiness | |||
2017-04-28 | Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a ↵ | Laurent Bercot | |
chainsaw) | |||
2017-04-28 | Fix NSIG definition (max+1 instead of max) | Laurent Bercot | |
2017-04-28 | OpenBSD doesn't export a proper NSIG without __BSD_VISIBLE. Ah, OpenBSD. | Laurent Bercot | |
2017-04-26 | Fix getrandom() detection: need to run the test, not only link! | Laurent Bercot | |
2017-04-23 | Align ancillary buffers on struct cmsghdr and int boundaries | Laurent Bercot | |
2017-03-16 | More arc4random_addrandom fixes, how can clang be such a PITA ? | Laurent Bercot | |
2017-03-16 | Fix arc4random_addrandom detection for -Werror=pointer-sign | Laurent Bercot | |
2017-03-15 | Fix unixmessage_putv() (the normal message wasn't taken into account!) | Laurent Bercot | |
2017-03-15 | Better pipe2 detection on BSD systems | Laurent Bercot | |
2017-03-15 | Fix trydevurandom test | Laurent Bercot | |
2017-03-15 | sysdeps tests cleanup. (I expect BSDs to break, as usual.) | Laurent Bercot | |
2017-03-14 | More fixes in lesser-explored #define paths | Laurent Bercot | |
2017-03-14 | Fix iobufferk_flush typo | Laurent Bercot | |
2017-03-13 | More superflous headers cleanup and tiny fixes | Laurent Bercot | |
2017-03-13 | Cleanups - mostly removing superfluous includes in headers | Laurent Bercot | |
2017-02-22 | Types change: switch libdatastruct to uint32_t | Laurent Bercot | |
Still needs to be reviewed. | |||
2017-02-21 | Types change: big pass on libstddjb and libunixonacid | Laurent Bercot | |
libdatastruct still missing, library still not functional | |||
2017-02-17 | More types changes | Laurent Bercot | |
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 | |||
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, 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 | |