<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libc/gen/arc4random_uniform.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-04-13T08:42:13Z</updated>
<entry>
<title>Sync with OpenBSD:</title>
<updated>2020-04-13T08:42:13Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2020-04-13T08:42:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d25a14305552adad86417c87d09e3ed791fbe835'/>
<id>urn:sha1:d25a14305552adad86417c87d09e3ed791fbe835</id>
<content type='text'>
arc4random.c: In the incredibly unbelievable circumstance where
_rs_init() fails to 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.

arc4random.3: reference random(4)

arc4random_uniform.c: include stdint.h over sys/types.h
</content>
</entry>
<entry>
<title>Revert r346410 and r346411</title>
<updated>2019-04-19T22:08:17Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-04-19T22:08:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6b97c2e306b3fe99cb2609004a84e9936f2fe481'/>
<id>urn:sha1:6b97c2e306b3fe99cb2609004a84e9936f2fe481</id>
<content type='text'>
libkern in .PATH has too many filename conflicts with libc and my -DNO_CLEAN
tinderbox didn't catch that ahead of time.  Mea culpa.
</content>
</entry>
<entry>
<title>libkern: Bring in arc4random_uniform(9) from libc</title>
<updated>2019-04-19T20:05:47Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-04-19T20:05:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7deb4b1964834c479406cab511de339a6cc0088e'/>
<id>urn:sha1:7deb4b1964834c479406cab511de339a6cc0088e</id>
<content type='text'>
It is a useful arc4random wrapper in the kernel for much the same reasons as
in userspace.  Move the source to libkern (because kernel build is
restricted to sys/, but userspace can include any file it likes) and build
kernel and libc versions from the same source file.

Copy the documentation from arc4random_uniform(3) to the section 9 page.

While here, add missing arc4random_buf(9) symlink.

Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Split arc4random_uniform into it's own file and sync with OpenBSD.</title>
<updated>2018-08-18T06:20:45Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2018-08-18T06:20:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=718863d0768e27d285d425046237a961bd4c414f'/>
<id>urn:sha1:718863d0768e27d285d425046237a961bd4c414f</id>
<content type='text'>
PR:		182610
Obtained from:	OpenBSD
MFC after:	2 weeks
</content>
</entry>
</feed>
