summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
AgeCommit message (Expand)AuthorFilesLines
2017-11-28GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionstb1-2/+2
2016-04-05Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificguenther1-4/+4
2015-01-16Move to the <limits.h> universe.deraadt1-4/+1
2014-12-16typo; ok deraadtsthen1-2/+2
2014-12-16warn for correct symbolderaadt1-2/+2
2014-12-09improve warnings from rand_r(), rand(), and random()deraadt1-1/+6
2014-12-08Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()deraadt1-35/+14
2014-10-13remove unused variablechl1-3/+1
2014-07-13once srandomdev() is called, switch to using arc4random() but mask off thetedu1-12/+10
2014-06-15oops, typo. James Hartley is fast at trying -currentderaadt1-2/+2
2014-06-15In srandomdev(), use arc4random_buf() instead of from the kernel.deraadt1-4/+3
2014-06-13use getentropy; from matthewderaadt1-5/+2
2013-08-01Add linker warnings for rand() and random() and various related functions.kettenis1-1/+16
2013-03-15threadsafe random().tedu1-8/+43
2012-06-01Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),guenther1-2/+2
2012-03-21Fix a bug where random() always returns 0 when srandom() is seededmillert1-2/+3
2005-11-30Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeotto1-38/+11
2005-08-08zap remaining rcsid.espie1-4/+1
2005-03-30ansi + de-registerpat1-11/+6
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2003-02-28Use int32_t, not long since this deals with 32bit quantities.millert1-20/+20
2002-12-06In srandomdev(), if we can't access /dev/arandom, use the sysctl() instead.millert1-10/+27
2000-04-04Fix the leak for real (that's what I get for hacking when i can't sleep).millert1-5/+7
2000-04-04Fix an fd leak if the read from /dev/arandom fails. Pointed out bymillert1-5/+5
2000-04-03Add srandomdev() from FreeBSD for use by sendmail and others.millert1-1/+46
1998-02-07More XPG4.2 --millert1-9/+5
1998-02-06size_t n in initstate(); XPGderaadt1-2/+2
1996-09-15Remove dead codetholo1-3/+2
1996-08-19Fix RCS idstholo1-2/+1
1996-03-30Substantially improve random number generation by using the largest primetholo1-9/+21
1995-10-18initial import of NetBSD treederaadt1-0/+364