index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lib
/
libc
/
stdlib
/
rand.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes
ache
2016-05-29
1
-41
/
+11
*
libc: do not include <sys/types.h> where <sys/param.h> was already included
avos
2016-04-18
1
-1
/
+0
*
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
rodrigc
2015-09-20
1
-4
/
+3
*
Style fix noted by bde@
ache
2013-07-04
1
-4
/
+8
*
After fixing ranges restore POSIX requirement: rand() call without
ache
2013-07-04
1
-1
/
+6
*
In addition to prev. commit, for repeated rand_r(3) calls don't forget
ache
2013-07-03
1
-1
/
+5
*
1) POSIX requires rand(3) return values to be in the [0, RAND_MAX] range,
ache
2013-07-03
1
-4
/
+16
*
Renumber clauses to reduce diffs to other versions
emaste
2013-06-13
1
-1
/
+1
*
Replace access to /dev/random with the kernel pseudo-random number
delphij
2013-04-02
1
-21
/
+12
*
Remove undefined behavior from sranddev() and
eadler
2012-10-09
1
-2
/
+1
*
libc: Use O_CLOEXEC for various internal file descriptors.
jilles
2012-09-29
1
-1
/
+1
*
Fix typo in the comment
ache
2007-12-11
1
-1
/
+1
*
Per Regents of the University of Calfornia letter, remove advertising
imp
2007-01-09
1
-4
/
+0
*
Back out "drop first N values" method of removing monotonically increased
ache
2003-02-17
1
-7
/
+1
*
Since we drop NSHUFF values now, set default seed to what it becomes
ache
2003-02-05
1
-3
/
+3
*
For rand(3) and random(3) TYPE_0 drop NSHUFF values right after srand{om}()
ache
2003-02-04
1
-1
/
+7
*
Park & Miller PRNG can be safely initialized with any value but 0 and stuck
ache
2003-02-03
1
-1
/
+4
*
For some combinations of variable sizes and RAND_MAX value rand_r()
ache
2003-02-02
1
-2
/
+4
*
Add missing #include "namespace.h".
tjr
2003-01-03
1
-0
/
+1
*
Fix the style of the SCM ID's.
obrien
2002-03-22
1
-2
/
+2
*
Add a long-overdue nail to the deprecated /dev/urandom interface
markm
2001-10-30
1
-1
/
+1
*
urandom(4) -> random(4) in comments.
dd
2001-06-07
1
-1
/
+1
*
Add #include "un-namespace.h"
ache
2001-04-23
1
-0
/
+1
*
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
ache
2001-04-23
1
-1
/
+1
*
Add sranddev() since srand() is not vary much with seed, typical time
ache
2001-04-23
1
-0
/
+34
*
Use formula with better random distribution for rand()
ache
2001-02-27
1
-0
/
+26
*
Added Posix rand_r function.
wes
1999-05-24
1
-1
/
+52
*
BSD 4.4 Lite Lib Sources
rgrimes
1994-05-27
1
-0
/
+54