<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/librandom, branch v2.13.1.1</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/librandom?h=v2.13.1.1</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/librandom?h=v2.13.1.1'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2022-11-29T02:24:47Z</updated>
<entry>
<title> Prepare for 2.13.0.0, revamp strerr</title>
<updated>2022-11-29T02:24:47Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-11-29T02:24:47Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=06011c29aef19d8ed90ebf48095e1ff2a846ba23'/>
<id>urn:sha1:06011c29aef19d8ed90ebf48095e1ff2a846ba23</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Don't use arc4random() for early random on Linux</title>
<updated>2022-07-23T20:21:38Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-07-23T20:21:38Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=2abc3b2c555d3dd6f9707b4e866d7984ad9048d6'/>
<id>urn:sha1:2abc3b2c555d3dd6f9707b4e866d7984ad9048d6</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Fix allread errno management</title>
<updated>2022-07-18T12:39:01Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-07-18T12:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=69fb8c62a31e767be1464a7ccfe2a5bac331c4cc'/>
<id>urn:sha1:69fb8c62a31e767be1464a7ccfe2a5bac331c4cc</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Add runtime fallback for GRND_INSECURE</title>
<updated>2022-06-23T08:46:40Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-06-23T08:46:40Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=664f0f3af7eb8aef89e6b1adee2d83b4c4f4cf9f'/>
<id>urn:sha1:664f0f3af7eb8aef89e6b1adee2d83b4c4f4cf9f</id>
<content type='text'>
The grndinsecure sysdep is only build-time tested and returns yes
if the kernel headers declare GRND_INSECURE. That is a problem
because the kernel headers are most likely provided by the toolchain
and do not reflect the exact capabilities of the run-time kernel.

If the run-time kernel doesn't support that option, getrandom()
fails. That made random_buf_early() busyloop.

To avoid that, we now fallback to random_devurandom() as an
implementation of random_buf_early() if getrandom() fails when
used with GRND_INSECURE. This adds a slight amount of overhead
to random_buf_early(), so it's probably better to just disable
the sysdep at build time if you're making binaries that will run
on older kernels.

Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Export random_devurandom, fix APIs</title>
<updated>2022-06-08T17:33:25Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-06-08T17:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=8ed4778c0eb0515d2b45a5add017bb96106ee543'/>
<id>urn:sha1:8ed4778c0eb0515d2b45a5add017bb96106ee543</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Prepare for 2.12.0.0. librandom revamp.</title>
<updated>2022-04-09T02:28:05Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-04-09T02:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=4e75b40d8a96c5d51490ddea43566fe8e6d4168c'/>
<id>urn:sha1:4e75b40d8a96c5d51490ddea43566fe8e6d4168c</id>
<content type='text'>
Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Don't write to /dev/urandom. (It's useless or even harmful.)</title>
<updated>2022-03-27T06:46:04Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2022-03-27T06:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=73439ad0ff5363ad629086fe04ac44f5569a185e'/>
<id>urn:sha1:73439ad0ff5363ad629086fe04ac44f5569a185e</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Don't return void</title>
<updated>2021-10-30T23:23:17Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2021-10-30T23:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=450e114e1e1651c65dfcdbfa3c6f3967163976b3'/>
<id>urn:sha1:450e114e1e1651c65dfcdbfa3c6f3967163976b3</id>
<content type='text'>
Error by: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30
Reported by schmonz

Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Huge incompatible changes.</title>
<updated>2021-07-28T23:45:20Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2021-07-28T23:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=9592bfd0dda7c575de07bce2c7a81b8432d845a4'/>
<id>urn:sha1:9592bfd0dda7c575de07bce2c7a81b8432d845a4</id>
<content type='text'>
- Obsolete skalibs/environ.h and skalibs/getpeereid.h removed.
- rc4 and md5 removed.
- All *_t types renamed to avoid treading on POSIX namespace.
- subgetopt() renamed to lgetopt().
- signal functions reworked; skasigaction removed; sig_stack removed
- Various functions removed: skaoffsetof(), selfpipe_untrap()
- New posixplz function: munmap_void.

Signed-off-by: Laurent Bercot &lt;ska@appnovation.com&gt;
</content>
</entry>
<entry>
<title> Don't touch /dev/urandom when getrandom() exists</title>
<updated>2021-01-15T00:18:42Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2021-01-15T00:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=5a2d006699305fbb1f088d06c37c52a2f84d2cd0'/>
<id>urn:sha1:5a2d006699305fbb1f088d06c37c52a2f84d2cd0</id>
<content type='text'>
</content>
</entry>
</feed>
