mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-01 13:49:03 +03:00
As part of the fix for CVE-2018-1108 (kernel drivers before version 4.17-rc1 are vulnerable to a weakness in the Linux kernel's implementation of random seed data. Programs, early in the boot sequence, could use the data allocated for the seed before it was sufficiently generated), the kernel random number generator initialization routine was changed. See the project-zero writeup for more details: https://bugs.chromium.org/p/project-zero/issues/detail?id=1559 These changes have now also been backported to 4.14.x (since 4.14.39) and 4.16.x (since 4.16.7). This change unfortunately causes users of libuuid from util-linux to block for a very long time waiting for sufficient entropy. An example of this is mke2fs, which uses libuuid to generate the filesystem UUID. Fix this by backporting two post-2.31 fixes from upstream. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Tested-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>