<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/crypt/arc4random.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-03-24T17:56:54+00:00</updated>
<entry>
<title>In the incredibly unbelievable circumstance where _rs_init() fails to</title>
<updated>2019-03-24T17:56:54+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-03-24T17:56:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8ca8dfb7d8fb508ace2f84a8985558f5bd56cf97'/>
<id>urn:sha1:8ca8dfb7d8fb508ace2f84a8985558f5bd56cf97</id>
<content type='text'>
allocate pages, don't call abort() because of corefile data leakage
concerns, but simply _exit().  The reasoning is _rs_init() will only
fail if someone finds a way to apply specific pressure against this
failure point, for the purpose of leaking information into a core which
they can read.  We don't need a corefile in this instance to debug that.
So take this "lever" away from whoever in the future wants to do that.
</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>Add support for building arc4random with MSVC.</title>
<updated>2015-09-10T18:53:50+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-09-10T18:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b3209ec128586420554cfcb9721e26b7a84201e7'/>
<id>urn:sha1:b3209ec128586420554cfcb9721e26b7a84201e7</id>
<content type='text'>
By default, MSVC's stdlib.h defines min(), so we need to spell out something
less common to avoid picking it up.

ok deraadt@ beck@ miod@
</content>
</entry>
<entry>
<title>Move to the &lt;limits.h&gt; universe.</title>
<updated>2015-01-16T16:48:51+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-01-16T16:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7027596ae70e4cf09e00ec2f7cb7434e59c533db'/>
<id>urn:sha1:7027596ae70e4cf09e00ec2f7cb7434e59c533db</id>
<content type='text'>
review by millert, binary checking process with doug, concept with guenther
</content>
</entry>
<entry>
<title>back in september I did the large abstraction refactoring to allow these</title>
<updated>2015-01-15T06:57:18+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-01-15T06:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c0fa7a33267776e90c29aa1b640595e92c0d8f7'/>
<id>urn:sha1:2c0fa7a33267776e90c29aa1b640595e92c0d8f7</id>
<content type='text'>
other systems to fit into the same mold, so add copyright
</content>
</entry>
<entry>
<title>missing newline</title>
<updated>2014-07-21T18:13:12+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-07-21T18:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f77209c0557caea5b2eb62e9c88c62cede471020'/>
<id>urn:sha1:f77209c0557caea5b2eb62e9c88c62cede471020</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move more OS-specific functionality to arc4random.h headers.</title>
<updated>2014-07-20T20:51:13+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-07-20T20:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e1e31280b22a03036aa16e7c3814eedfa8ce1be4'/>
<id>urn:sha1:e1e31280b22a03036aa16e7c3814eedfa8ce1be4</id>
<content type='text'>
Move &lt;sys/mman.h&gt; and raise(SIGKILL) calls to OS-specific headers.
On OpenBSD, move thread_private.h as well to arc4random.h.
On Windows, use TerminateProcess on getentropy failure.

ok deraadt@
</content>
</entry>
<entry>
<title>Change _rs_allocate so it can combine the two regions (rs and rsx)</title>
<updated>2014-07-19T00:08:43+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-07-19T00:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7dda705eb34d88c4c8c8ece0a009c6cac7b14c67'/>
<id>urn:sha1:7dda705eb34d88c4c8c8ece0a009c6cac7b14c67</id>
<content type='text'>
into one if a system has an awesome getentropy().  In that case it
is valid to totally throw away the rsx state in the child.  If the
getentropy() is not very good and has a lazy reseed operation, this
combining is a bad idea, and the reseed should probably continue to
use the "something old, something new" mix.  _rs_allocate() can
accomodate either method, but not on the fly.
ok matthew
</content>
</entry>
<entry>
<title>Seperate arc4random's os-dependent parts into static inline functions,</title>
<updated>2014-07-18T02:05:55+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-07-18T02:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c3ecd2f97aa6b0c3ad2b858fd98b8b662c2b7751'/>
<id>urn:sha1:c3ecd2f97aa6b0c3ad2b858fd98b8b662c2b7751</id>
<content type='text'>
making it much easier for libressl -portable to fill in the gaps.
ok bcook beck
</content>
</entry>
<entry>
<title>"Race-free because we're running single-threaded in a new</title>
<updated>2014-07-17T14:30:41+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-07-17T14:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=abc31963b47bed637894a360dd9ea17999dcd644'/>
<id>urn:sha1:abc31963b47bed637894a360dd9ea17999dcd644</id>
<content type='text'>
address space, and once allocated rs is never deallocated."
document the forkhandler to save reviewers time, with matthew
</content>
</entry>
</feed>
