basic: getauxval(AT_RANDOM) is apparently not necessarily aligned
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 16:00:38 +0000 (17:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 16:00:38 +0000 (17:00 +0100)
commitad6b1fa287c1d007fd85aa3e85b7e4a6bc7f515f
tree12dbaa356557f24bbe08458e8391610a52932dc1
parentb430f85f22ac23720b30263bd6cb252bb85ecc4b
basic: getauxval(AT_RANDOM) is apparently not necessarily aligned

Let's make sure we read it in a way compatible with non-aligned memory.

Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812928
src/basic/random-util.c