<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib, branch OPENBSD_7_0_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_0_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_0_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-09-19T09:15:22+00:00</updated>
<entry>
<title>Switch two calls from memset() to explicit_bzero()</title>
<updated>2021-09-19T09:15:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-09-19T09:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f7454b8bede1be416adc77267c65bdcb40ee9f98'/>
<id>urn:sha1:f7454b8bede1be416adc77267c65bdcb40ee9f98</id>
<content type='text'>
This matches the documented behavior more obviously and ensures that
these aren't optimized away, although this is unlikely.

Discussed with deraadt and otto
</content>
</entry>
<entry>
<title>* add the missing STANDARDS section as noticed by tb@</title>
<updated>2021-09-03T16:51:47+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-09-03T16:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d0878530a6d50e4c0bf556299601688b6c952ea9'/>
<id>urn:sha1:d0878530a6d50e4c0bf556299601688b6c952ea9</id>
<content type='text'>
* mention that the *optionp input string will be modified
* clarify that the array of tokens is expected to be NULL-terminated
OK millert@ tb@, and the first half of STANDARDS also OK jmc@
</content>
</entry>
<entry>
<title>Make MALLOC_STATS compile again; noted by Omar Polo and Joe Nelson</title>
<updated>2021-07-23T18:04:28+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-07-23T18:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe9237f5520de95970a7adf9f41f4a41ea3e156a'/>
<id>urn:sha1:fe9237f5520de95970a7adf9f41f4a41ea3e156a</id>
<content type='text'>
</content>
</entry>
<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>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>
</feed>
