<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib/malloc.c, branch pre_openssl_0_9_8h</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=pre_openssl_0_9_8h</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=pre_openssl_0_9_8h'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2008-07-28T23:44:12+00:00</updated>
<entry>
<title>This commit was manufactured by cvs2git to create tag 'pre_openssl_0_9_8h'.</title>
<updated>2008-07-28T23:44:12+00:00</updated>
<author>
<name>cvs2svn</name>
<email>admin@example.com</email>
</author>
<published>2008-07-28T23:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=daac2f633f49a45baa8412c5e4e71e594236e7b8'/>
<id>urn:sha1:daac2f633f49a45baa8412c5e4e71e594236e7b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Almost complete rewrite of malloc, to have a more efficient data</title>
<updated>2008-07-28T04:56:38+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-07-28T04:56:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b27d6e846482338e09c058638005f2b0c06b1832'/>
<id>urn:sha1:b27d6e846482338e09c058638005f2b0c06b1832</id>
<content type='text'>
structure of tracking pages returned by mmap(). Lots of testing by
lots of people, thanks to you all.
ok djm@ (for a slighly earlier version) deraadt@
</content>
</entry>
<entry>
<title>remove _MALLOC_LOCK_INIT; major bump; ok deraadt@</title>
<updated>2008-06-13T21:18:42+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-06-13T21:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b65da525816f8a4366b3b8f09e0bbcec6ec867a6'/>
<id>urn:sha1:b65da525816f8a4366b3b8f09e0bbcec6ec867a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove recalloc(3); it is buggy and impossible to repair without big</title>
<updated>2008-05-19T19:36:15+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-05-19T19:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=64e5a691eaebd488c6d4609a36c21e319b92aef7'/>
<id>urn:sha1:64e5a691eaebd488c6d4609a36c21e319b92aef7</id>
<content type='text'>
costs; ok jmc@ for the man page bits; ok millert@ deraadt@
</content>
</entry>
<entry>
<title>Use arc4random_buf() when requesting more than a single word of output</title>
<updated>2008-04-13T00:22:17+00:00</updated>
<author>
<name>djm</name>
<email></email>
</author>
<published>2008-04-13T00:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e091e5f9bb5ae7fbc3f63db4474a599ad3fe529'/>
<id>urn:sha1:3e091e5f9bb5ae7fbc3f63db4474a599ad3fe529</id>
<content type='text'>
Use arc4random_uniform() when the desired random number upper bound
is not a power of two

ok deraadt@ millert@
</content>
</entry>
<entry>
<title>use pgfree pool like other code does to reserve free list slots.</title>
<updated>2008-02-20T18:31:34+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-02-20T18:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=af70d9f43988faac4e1d4c23c2ee82a7f1fc0776'/>
<id>urn:sha1:af70d9f43988faac4e1d4c23c2ee82a7f1fc0776</id>
<content type='text'>
prevents a few "cannot free mem because i need mem to free mem"
scenarios (one found by weingart@). ok weingart@ millert@ miod@
</content>
</entry>
<entry>
<title>add recaloc(3)</title>
<updated>2007-09-03T14:37:02+00:00</updated>
<author>
<name>millert</name>
<email></email>
</author>
<published>2007-09-03T14:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2056049ed6b7a028e611838a742280fced6d2c23'/>
<id>urn:sha1:2056049ed6b7a028e611838a742280fced6d2c23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>get cheaper random bytes, less waste and no getpid() calls, which are</title>
<updated>2007-02-12T20:00:14+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2007-02-12T20:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1c8932c1d4d3973f285faadc8ffb6c19023a2a1'/>
<id>urn:sha1:d1c8932c1d4d3973f285faadc8ffb6c19023a2a1</id>
<content type='text'>
done by arc4random(); ok millert@ deraadt@
</content>
</entry>
<entry>
<title>a failed mmap returns MAP_FAILED, not NULL. found while exercising pax</title>
<updated>2006-12-19T13:00:50+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2006-12-19T13:00:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c637dfc67372c7d04a8e0cc2bca4a0f242573541'/>
<id>urn:sha1:c637dfc67372c7d04a8e0cc2bca4a0f242573541</id>
<content type='text'>
in low-mem conditions; ok dim@
</content>
</entry>
<entry>
<title>respond to ben hawkes's ruxcon presentation.</title>
<updated>2006-10-24T04:35:30+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2006-10-24T04:35:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=182ec138408d8727b97aa8a6b7faef3a1c05037b'/>
<id>urn:sha1:182ec138408d8727b97aa8a6b7faef3a1c05037b</id>
<content type='text'>
create special allocators for pginfo and pgfree structs instead of imalloc.
this keeps them separated from application memory.
for chunks, to prevent deterministic reuse, keep a small array
and swizzle the to be freed chunk with a random previously freed chunk.
this last bit only for chunks because keeping arbitrarily large regions
of pages around may cause out of memory issues (and pages are, to some
extent, returned in random order).
all changes enabled by default.
thanks to ben for pointing out these issues.
ok tech@
</content>
</entry>
</feed>
