summaryrefslogtreecommitdiffstats
path: root/lib/match.c
diff options
context:
space:
mode:
authorChristopher James Halse Rogers2017-08-07 08:07:54 +0200
committerChristopher James Halse Rogers2017-08-08 03:27:49 +0200
commita7df0f5f3537d062dcf2f7d85cf2f919bf384b16 (patch)
treecc1a9677b21be0751dedbded8cb2fa12db3d00f5 /lib/match.c
parentlibblkid: add support for UBI superblock (diff)
downloadkernel-qcow2-util-linux-a7df0f5f3537d062dcf2f7d85cf2f919bf384b16.tar.gz
kernel-qcow2-util-linux-a7df0f5f3537d062dcf2f7d85cf2f919bf384b16.tar.xz
kernel-qcow2-util-linux-a7df0f5f3537d062dcf2f7d85cf2f919bf384b16.zip
lib/randutils.c: Fall back gracefully when kernel doesn't support getrandom(2).
The 3.16 kernel is supported until 2020, and various distros have kernels of the same vintage. It's entirely possible for code built against newer headers to be run against these kernels, so fall-back to the old “read /dev/{u,}random” method if the kernel doesn' support getrandom()
Diffstat (limited to 'lib/match.c')
0 files changed, 0 insertions, 0 deletions