<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arc4random/getentropy_linux.c, branch libressl-v2.2.7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-08-02T21:54:23+00:00</updated>
<entry>
<title>This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.</title>
<updated>2015-08-02T21:54:23+00:00</updated>
<author>
<name>cvs2svn</name>
<email>admin@example.com</email>
</author>
<published>2015-08-02T21:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a'/>
<id>urn:sha1:67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded sys/sysctl.h on linux.</title>
<updated>2015-06-13T02:33:58+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-06-13T02:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7046960ffae4141275822862cb7065584b59d3ae'/>
<id>urn:sha1:7046960ffae4141275822862cb7065584b59d3ae</id>
<content type='text'>
This only provides the sysctl wrapper in glibc, which we do not use and is not available in other libc implementations for Linux. Thanks to ncopa from github.
</content>
</entry>
<entry>
<title>Not all Linux libc's include linux/sysctl.h in sys/sysctl.h.</title>
<updated>2015-04-27T03:37:06+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-04-27T03:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=29b3e8caf044d209b7dcfe76059033f1e5174a65'/>
<id>urn:sha1:29b3e8caf044d209b7dcfe76059033f1e5174a65</id>
<content type='text'>
Include it if we have the sysctl syscall.
</content>
</entry>
<entry>
<title>sys/sysctl.h includes linux/sysctl.h, remove the extra unchecked include</title>
<updated>2015-03-22T13:28:03+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-03-22T13:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2726156be030e091258537fe7ca338f221ab9277'/>
<id>urn:sha1:2726156be030e091258537fe7ca338f221ab9277</id>
<content type='text'>
</content>
</entry>
<entry>
<title>include header needed by older linux kernels</title>
<updated>2014-10-11T16:44:05+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-10-11T16:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e737c824fafe5f105e5f4849a9db2569b5d53d8'/>
<id>urn:sha1:4e737c824fafe5f105e5f4849a9db2569b5d53d8</id>
<content type='text'>
not all versions of &lt;linux/random.h&gt; include &lt;linux/types.h&gt; by default
</content>
</entry>
<entry>
<title>preserve errno value on success.</title>
<updated>2014-08-28T01:00:57+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-08-28T01:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a204a3a466a44d9fd8704c0ac46eef238a8cb1e7'/>
<id>urn:sha1:a204a3a466a44d9fd8704c0ac46eef238a8cb1e7</id>
<content type='text'>
If getrandom returns a temporary failure, make sure errno is not polluted when
it succeeds. Thanks to deraadt@ for pointing it out.
</content>
</entry>
<entry>
<title>only build the getrandom path if SYS_getrandom is defined.</title>
<updated>2014-08-16T18:42:41+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-08-16T18:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8d1497d70ef3cba9c8cb1eeffed8280530bfd921'/>
<id>urn:sha1:8d1497d70ef3cba9c8cb1eeffed8280530bfd921</id>
<content type='text'>
like the sysctl path
</content>
</entry>
<entry>
<title>getrandom(2) support for getentropy_linux</title>
<updated>2014-08-16T17:21:56+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-08-16T17:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=408eab1e65d65540efc82e6ec61695cebcc06a66'/>
<id>urn:sha1:408eab1e65d65540efc82e6ec61695cebcc06a66</id>
<content type='text'>
This enables support for the new getrandom(2) syscall in Linux 3.17.

If the call exists and fails, return a failure in getentropy(2) emulation as
well. This adds a EINTR check in case the urandom pool is not initialized.

Tested on Fedora Rawhide with 3.17rc0 and Ubuntu 14.04

ok deraadt@
</content>
</entry>
<entry>
<title>better match proposed syscall api</title>
<updated>2014-07-22T01:15:58+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-07-22T01:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0ed0b42beb5b86bbeae21da1895c40f4f6d552b5'/>
<id>urn:sha1:0ed0b42beb5b86bbeae21da1895c40f4f6d552b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>protect sysctl path with SYS__sysctl instead; from enh@google, ok bcook</title>
<updated>2014-07-21T23:34:54+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-07-21T23:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7a43275649d54761a1b6314f34094b07b0eb8a0f'/>
<id>urn:sha1:7a43275649d54761a1b6314f34094b07b0eb8a0f</id>
<content type='text'>
</content>
</entry>
</feed>
