<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc, branch OPENBSD_6_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-04-09T06:05:21+00:00</updated>
<entry>
<title>An extra internal consistency check and a missing stats adjustment. ok tb@</title>
<updated>2021-04-09T06:05:21+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-04-09T06:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b4499c43f4b32d2e5e054187f8f0e5bfd8299e02'/>
<id>urn:sha1:b4499c43f4b32d2e5e054187f8f0e5bfd8299e02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cache implementation has changed, we do not hold on to an exact number</title>
<updated>2021-04-09T06:04:15+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-04-09T06:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e3d1ed16d000aa151144fb4a5e41cd02144b2cc2'/>
<id>urn:sha1:e3d1ed16d000aa151144fb4a5e41cd02144b2cc2</id>
<content type='text'>
of pages anymore, but also cache larger regions; ok tb@
</content>
</entry>
<entry>
<title>Type-cast getpagesize() from int to size_t for the comparison with d.</title>
<updated>2021-03-18T11:16:58+00:00</updated>
<author>
<name>claudio</name>
<email></email>
</author>
<published>2021-03-18T11:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62d150ce3c8b026a91593f3e9531a4b37dc681a9'/>
<id>urn:sha1:62d150ce3c8b026a91593f3e9531a4b37dc681a9</id>
<content type='text'>
getpagesize() will only return positive numbers (there is no negative
page size system) and it can not fail.
Should fix some compiler warnings seen in -portable projects.
OK otto@
</content>
</entry>
<entry>
<title>Change the implementation of the malloc cache to keep lists of</title>
<updated>2021-03-09T07:39:28+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-03-09T07:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d659aeb4a4d7e639792e25febcf5bfce6c61e31e'/>
<id>urn:sha1:d659aeb4a4d7e639792e25febcf5bfce6c61e31e</id>
<content type='text'>
regions of a given size.  In snaps for a while, committing since
no issues were reported and a wider audience is good.  ok deraadt@
</content>
</entry>
<entry>
<title>- Make use of the fact that we know how the chunks are aligned, and</title>
<updated>2021-02-25T15:20:18+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-02-25T15:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=052d36f8658e248c066384b08c925f65e7074586'/>
<id>urn:sha1:052d36f8658e248c066384b08c925f65e7074586</id>
<content type='text'>
write 8 bytes at the time by using a uint64_t pointer. For an
allocation a max of 4 such uint64_t's are written spread over the
allocation. For pages sized and larger, the first page is junked in
such a way.
- Delayed free of a small chunk checks the corresponiding way.
- Pages ending up in the cache are validated upon unmapping or re-use.
In snaps for a while
</content>
</entry>
<entry>
<title>Some people still argue that rand(3) and random(3) have suitable deterministic</title>
<updated>2021-02-12T17:03:51+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-02-12T17:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=96694adb26fa7287b876515de64c63e787de5007'/>
<id>urn:sha1:96694adb26fa7287b876515de64c63e787de5007</id>
<content type='text'>
use cases, so explain the situation a bit more.  Since the 80's, I estimate
around 5 algorithm changes, so any chosen seed is unrepeatable UB.

+The deterministic sequence algorithm changed a number of times since
+original development, is underspecified, and should not be relied upon to
+remain consistent between platforms and over time.

ok jmc kettenis
</content>
</entry>
<entry>
<title>Prevent an overflow in inet_net_pton(3) when the passed in buffer is</title>
<updated>2021-01-19T16:43:44+00:00</updated>
<author>
<name>florian</name>
<email></email>
</author>
<published>2021-01-19T16:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=abe4474fe83b5b1572f8cce65830046c69389bd1'/>
<id>urn:sha1:abe4474fe83b5b1572f8cce65830046c69389bd1</id>
<content type='text'>
too small in the AF_INET6 case.
Spotted by Brad House (brad AT brad-house.com) with the c-ares
regression test.

The man page says
     Caution: The dst field should be zeroed before calling inet_net_pton() as
     the function will only fill the number of bytes necessary to encode the
     network number in network byte order.

Which seems to suggest that the function should work if the passed in
storage is big enough to hold the prefix, which might be smaller than
sizeof(in6_addr).

Input &amp; OK tb
</content>
</entry>
<entry>
<title>Fix two issues related to thread private data in asr.</title>
<updated>2021-01-06T19:54:17+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-01-06T19:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a99f91343a365d71d137ae486285fdf049c5cf74'/>
<id>urn:sha1:a99f91343a365d71d137ae486285fdf049c5cf74</id>
<content type='text'>
- setting up asr in single thread mode and then starting threads using asr
  would lead to multiple threads sharing the same resolver.
- destruction of a thread that has been using asr would leak data.
Problem originally reported by Alexey Sokolov and Uli Schlachter.
ok kettenis@
</content>
</entry>
<entry>
<title>mapalign() only handles allocations &gt;= a page; problem found by and ok semarie@</title>
<updated>2020-11-23T15:42:11+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2020-11-23T15:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c77e1ca5ca01ce42fde26161844ab04c5c3ae055'/>
<id>urn:sha1:c77e1ca5ca01ce42fde26161844ab04c5c3ae055</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make fixed-sized fixed-value mib[] arrays be const</title>
<updated>2020-10-12T22:08:33+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2020-10-12T22:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b7e57c0d7a138aac2289904709330d2b2ee7257c'/>
<id>urn:sha1:b7e57c0d7a138aac2289904709330d2b2ee7257c</id>
<content type='text'>
ok guenther tb millert
</content>
</entry>
</feed>
