summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-id128/sd-id128.c
AgeCommit message (Collapse)Author
2015-04-11shared: add random-util.[ch]Ronny Chevalier
2015-03-09Introduce loop_read_exact helperZbigniew Jędrzejewski-Szmek
Usually when using loop_read(), we want to read the full buffer. Add a helper that mirrors loop_write(), and returns 0 when full buffer was read, and an error otherwise. Use -ENODATA for the short read, to distinguish it from a read error.
2014-12-11treewide: correct spacing near eol in code commentsTorstein Husebø
2014-10-03sd-id128: do stricter checking of random boot idZbigniew Jędrzejewski-Szmek
If we are bothering to check whether the kernel is not feeding us bad data, we might as well do it properly. CID #1237692.
2014-02-19sd-id128: use new dev_urandom() callLennart Poettering
2014-01-25build-sys: merge libsystemd-id128 into libsystemdZbigniew Jędrzejewski-Szmek