|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Theo de Raadt (deraadt
cvs.openbsd.org)
Date: Wed Oct 15 2008 - 18:23:52 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: deraadt
cvs.openbsd.org 2008/10/15 17:23:51
Modified files:
sys/arch/alpha/include: cpu.h
sys/arch/amd64/amd64: cpu.c
sys/arch/amd64/include: cpu.h
sys/arch/arm/include: cpu.h
sys/arch/hppa/include: cpu.h
sys/arch/i386/i386: cpu.c
sys/arch/i386/include: cpu.h
sys/arch/m68k/include: cpu.h
sys/arch/m88k/include: cpu.h
sys/arch/macppc/macppc: cpu.c
sys/arch/mips64/include: cpu.h
sys/arch/powerpc/include: cpu.h
sys/arch/sh/include: cpu.h
sys/arch/sparc/sparc: cpuvar.h
sys/arch/sparc64/include: cpu.h
sys/arch/sparc64/sparc64: cpu.c
sys/arch/vax/include: cpu.h
sys/conf : files
sys/kern : init_main.c
sys/lib/libkern: libkern.h random.c
Removed files:
sys/lib/libkern: srandom.c
Log message:
make random(9) return per-cpu values (by saving the seed in the cpuinfo),
which are uniform for the profclock on each cpu in a SMP system (but using
a different seed for each cpu). on all cpus, avoid seeding with a value out
of the [0, 2^31-1] range (since that is not stable)
ok kettenis drahn
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]