android_kernel_xiaomi_sm8350/arch/um/os-Linux
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
skas [PATCH] uml: include tidying 2006-11-03 12:27:59 -08:00
sys-i386 [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
sys-x86_64
aio.c
elf_aux.c
execvp.c [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
file.c
helper.c [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
irq.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
main.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
Makefile [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
mem.c
process.c [PATCH] uml: include tidying 2006-11-03 12:27:59 -08:00
sigio.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
signal.c [PATCH] uml: fix I/O hang 2006-11-03 12:27:58 -08:00
start_up.c
time.c [PATCH] uml: reenable compilation of enable_timer, disabled by mistake 2006-10-20 10:26:36 -07:00
tls.c [PATCH] uml: include tidying 2006-11-03 12:27:59 -08:00
trap.c
tt.c
tty_log.c
tty.c
uaccess.c
umid.c
user_syms.c
util.c