<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/libc/stdlib/malloc, branch 0.9.31</title>
<subtitle>Where we track our uclibc patches
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/'/>
<entry>
<title>prettify make clean</title>
<updated>2010-03-25T14:39:02+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2010-03-25T14:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=abdbaa897b3d7b5b72c8521a38aa84cada242837'/>
<id>abdbaa897b3d7b5b72c8521a38aa84cada242837</id>
<content type='text'>
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>malloc: fix race condition and other bugs in the no-mmu malloc</title>
<updated>2009-12-19T21:53:32+00:00</updated>
<author>
<name>Freeman Wang</name>
<email>xwang@ubicom.com</email>
</author>
<published>2009-12-19T21:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=23528282b771d1af3df0fa17f1e909ad3b663f59'/>
<id>23528282b771d1af3df0fa17f1e909ad3b663f59</id>
<content type='text'>
Fixes multiple race conditions on mmb list. This was done by
making the mmb_heap_lock into a recursive lock and making the
regular heap_lock extend to cover the mmb heap handling.

Also move the new_mmb allocation up to before the mmb list is
iterated through to find the insertion point. When the mmb_heap
also runs out and needs to be extended when the regular heap is
just extended, the mmb list could be messed up.

Signed-off-by: Freeman Wang &lt;xwang@ubicom.com&gt;
Signed-off-by: Austin Foxley &lt;austinf@cetoncorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes multiple race conditions on mmb list. This was done by
making the mmb_heap_lock into a recursive lock and making the
regular heap_lock extend to cover the mmb heap handling.

Also move the new_mmb allocation up to before the mmb list is
iterated through to find the insertion point. When the mmb_heap
also runs out and needs to be extended when the regular heap is
just extended, the mmb list could be messed up.

Signed-off-by: Freeman Wang &lt;xwang@ubicom.com&gt;
Signed-off-by: Austin Foxley &lt;austinf@cetoncorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nommu: use MAP_UNINITIALIZE for mallocs</title>
<updated>2009-11-24T02:35:34+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-11-24T02:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=00673f93826bf1fbde728d202c319a684bb87150'/>
<id>00673f93826bf1fbde728d202c319a684bb87150</id>
<content type='text'>
Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use
it to get real uninitialized memory on no-mmu systems.  This avoids a lot
of normally useless overhead involved in zeroing out all of the memory
(sometimes multiple times).

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use
it to get real uninitialized memory on no-mmu systems.  This avoids a lot
of normally useless overhead involved in zeroing out all of the memory
(sometimes multiple times).

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>malloc: handle size overflows in realloc()</title>
<updated>2009-10-15T23:47:12+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-10-15T23:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=07e0ce9fa7f428720bee9decb5d0bb368108d93f'/>
<id>07e0ce9fa7f428720bee9decb5d0bb368108d93f</id>
<content type='text'>
The malloc() code checks the incoming size to make sure the header
adjustment doesn't cause overflow in the size storage.  Add the same
check to realloc() to catch stupid stuff like realloc(..., -1).

Reported-by: James Coleman &lt;james.coleman@ubicom.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The malloc() code checks the incoming size to make sure the header
adjustment doesn't cause overflow in the size storage.  Add the same
check to realloc() to catch stupid stuff like realloc(..., -1).

Reported-by: James Coleman &lt;james.coleman@ubicom.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>trim Experimentally off and uncommented hidden</title>
<updated>2009-09-18T18:57:40+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2009-09-18T18:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=21730caa6647f645974e132ca8afec79b4eeab2b'/>
<id>21730caa6647f645974e132ca8afec79b4eeab2b</id>
<content type='text'>
  sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *)
  sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *)
  should be a nop

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *)
  sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *)
  should be a nop

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>support building out-of-tree</title>
<updated>2009-08-17T17:17:00+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2009-08-17T17:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=49d8a0e9c6e32701c7eca91a1204237d3a334e38'/>
<id>49d8a0e9c6e32701c7eca91a1204237d3a334e38</id>
<content type='text'>
  Handle O=

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Handle O=

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>- revert 24148:24151</title>
<updated>2008-11-26T08:41:09+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2008-11-26T08:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=20cff295659e9bd1bee2c316ee17a53cad693ea2'/>
<id>20cff295659e9bd1bee2c316ee17a53cad693ea2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- remove some bloat that was added in r23660 and subsequent r23698.</title>
<updated>2008-11-25T16:27:07+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2008-11-25T16:27:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=5fefc2d24a19675e9b7cce654ec06022de2738ba'/>
<id>5fefc2d24a19675e9b7cce654ec06022de2738ba</id>
<content type='text'>
  The sbrk lock is only needed for LT.old
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  The sbrk lock is only needed for LT.old
</pre>
</div>
</content>
</entry>
<entry>
<title>Last portion of libc_hidden_proto removal.</title>
<updated>2008-11-20T22:11:44+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-11-20T22:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=cb97aadebfeba7f5e8f1b85beee5ab10e88c2990'/>
<id>cb97aadebfeba7f5e8f1b85beee5ab10e88c2990</id>
<content type='text'>
Appears to build fine (several .configs tried)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Appears to build fine (several .configs tried)

</pre>
</div>
</content>
</entry>
<entry>
<title>next portion of libc_hidden_proto removal</title>
<updated>2008-11-20T22:07:43+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-11-20T22:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=b133fe1cac9f99b63ea56daf92caa1423b1289d0'/>
<id>b133fe1cac9f99b63ea56daf92caa1423b1289d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
