<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib/rand.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-11-28T06:55:49+00:00</updated>
<entry>
<title>GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections</title>
<updated>2017-11-28T06:55:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2017-11-28T06:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8498b91851192781ec9ed2dd8420226001473ef7'/>
<id>urn:sha1:8498b91851192781ec9ed2dd8420226001473ef7</id>
<content type='text'>
with "warning: " since 2003, so the messages themselves need not
contain the prefix anymore.

From Scott Cheloha
ok jca, deraadt
</content>
</entry>
<entry>
<title>$OpenBSD$</title>
<updated>2016-10-22T19:19:34+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2016-10-22T19:19:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ed59924354242d097021720d30f43572b5be54f7'/>
<id>urn:sha1:ed59924354242d097021720d30f43572b5be54f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify return call of rand() and rand_r() to make it easier to read.</title>
<updated>2015-12-18T08:52:34+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2015-12-18T08:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c7a8e75acdb875a1202fe9fcd79e35d82382797c'/>
<id>urn:sha1:c7a8e75acdb875a1202fe9fcd79e35d82382797c</id>
<content type='text'>
This is slightly less robust, but RAND_MAX must be one below a power
of two in both variants anyway.

Based on a suggestion by Matthew Martin.

ok tedu@
</content>
</entry>
<entry>
<title>Wrap &lt;stdlib.h&gt; so that calls go direct and the symbols not in the</title>
<updated>2015-09-13T08:31:48+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2015-09-13T08:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e85bde5645a66155108c2a88d25fa62993a3f2bb'/>
<id>urn:sha1:e85bde5645a66155108c2a88d25fa62993a3f2bb</id>
<content type='text'>
C standard are all weak.
Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the
arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
</content>
</entry>
<entry>
<title>typo; ok deraadt</title>
<updated>2014-12-16T20:51:32+00:00</updated>
<author>
<name>sthen</name>
<email></email>
</author>
<published>2014-12-16T20:51:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c2e399263206ba62e8c110ac855698bccb450490'/>
<id>urn:sha1:c2e399263206ba62e8c110ac855698bccb450490</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve warnings from rand_r(), rand(), and random()</title>
<updated>2014-12-09T08:00:53+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-12-09T08:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=edffaf4998902baa8112fbdd357ca8d9f34c7b30'/>
<id>urn:sha1:edffaf4998902baa8112fbdd357ca8d9f34c7b30</id>
<content type='text'>
It may take a few iterations to get the tone right.
previously discussed with millert
</content>
</entry>
<entry>
<title>Oops, got the sense of the test backwards.  Hilarious that we didn't spot it.</title>
<updated>2014-12-08T21:52:06+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-12-08T21:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=430732678b2b335f9570495746738b681bd3f450'/>
<id>urn:sha1:430732678b2b335f9570495746738b681bd3f450</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()</title>
<updated>2014-12-08T21:45:20+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-12-08T21:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9736a7f2a9e739ee9fc431040def5680fbb8794a'/>
<id>urn:sha1:9736a7f2a9e739ee9fc431040def5680fbb8794a</id>
<content type='text'>
to returning strong random by default, source from arc4random(3).
Parameters to the seeding functions are ignored, and the subsystems remain
in strong random mode.  If you wish the standardized deterministic mode,
call srand_deterministic(), srandom_determistic(), srand48_deterministic(),
seed48_deterministic() or lcong48_deterministic() instead.
The re-entrant functions rand_r(), erand48(), nrand48(), jrand48() are
unaffected by this change and remain in deterministic mode (for now).

Verified as a good roadmap forward by auditing 8800 pieces of software.
Roughly 60 pieces of software will need adaptation to request the
deterministic mode.

Violates POSIX and C89, which violate best practice in this century.
ok guenther tedu millert
</content>
</entry>
<entry>
<title>Add linker warnings for rand() and random() and various related functions.</title>
<updated>2013-08-01T19:42:08+00:00</updated>
<author>
<name>kettenis</name>
<email></email>
</author>
<published>2013-08-01T19:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e263a6b48950a71c7a8df11538417524ff0f8164'/>
<id>urn:sha1:e263a6b48950a71c7a8df11538417524ff0f8164</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>zap remaining rcsid.</title>
<updated>2005-08-08T08:05:37+00:00</updated>
<author>
<name>espie</name>
<email></email>
</author>
<published>2005-08-08T08:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d7398a270c9cd1b7b4d545ed70ea24384781a86c'/>
<id>urn:sha1:d7398a270c9cd1b7b4d545ed70ea24384781a86c</id>
<content type='text'>
Kill old files that are no longer compiled.

okay theo
</content>
</entry>
</feed>
