android_kernel_xiaomi_sm8350/arch/um
Jeff Dike 8210fd2a9f [PATCH] uml: use get_random_bytes() after random pool is seeded
When the UML network driver generates random MACs for its devices, it was
possible for a number of UMLs to get the same MACs because the ethernet
initialization was done before the random pool was properly seeded.

This patch moves the initialization later so that it gets better randomness.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:29 -08:00
..
drivers [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
include [PATCH] uml: size register files correctly 2006-12-07 08:39:29 -08:00
kernel [PATCH] uml: add _text definition to linker scripts 2006-10-31 08:07:00 -08:00
os-Linux [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
scripts
sys-i386 [PATCH] uml: include stddef.h correctly 2006-12-07 08:39:29 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
config.release
defconfig
Kconfig [PATCH] uml: use DEFCONFIG_LIST to avoid reading host's config 2006-10-20 10:26:36 -07:00
Kconfig.char [PATCH] uml: kconfig - silence warning 2006-10-20 10:26:36 -07:00
Kconfig.debug
Kconfig.i386 [PATCH] uml: allow finer tuning for host VMSPLIT setting 2006-10-11 11:14:21 -07:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00