summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/srandom.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make random(9) return per-cpu values (by saving the seed in the cpuinfo),deraadt2008-10-151-44/+0
| | | | | | | 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
* ansi and some missing protosderaadt2004-08-071-3/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* make -Wstrict-prototypes happyniklas1996-08-111-1/+3
|
* srandom() seeds random() at boottimederaadt1996-08-101-0/+47