<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux-2.4.git/lib, branch master</title>
<subtitle>Linux Kernel 2.4
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/atom?h=master</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/'/>
<updated>2009-07-21T12:58:54Z</updated>
<entry>
<title>lib: fix again memcmp export issues in the arch ksyms only</title>
<updated>2009-07-21T12:58:54Z</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2009-07-21T11:01:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=88dff980ec4cc86e684feadb207daf3458c98e18'/>
<id>urn:sha1:88dff980ec4cc86e684feadb207daf3458c98e18</id>
<content type='text'>
The last memcmp fix was not enough as Ralf Rösch just reported that it
did not fix build issues caused by the first one on mips (redefined
symbol). The proper fix finally consists in only exporting the symbol
in the affected architecture, i386. The final code is closer to what
it was prior to the first change.

If other architectures experience similar issues as i386 did, we'll add
the faulty symbols to their own export list. A cleaner solution would
have consisted in always exporting the symbols in string.c regardless
of the architecture as is done in 2.6, but this could have broken some
existing external patches, which is not desirable at this stage.
</content>
</entry>
<entry>
<title>lib: memcmp must be exported without module versioning</title>
<updated>2009-07-21T05:03:03Z</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2009-07-21T05:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=48c76cf6963ed01a656798ebd2f41ff5615cffe5'/>
<id>urn:sha1:48c76cf6963ed01a656798ebd2f41ff5615cffe5</id>
<content type='text'>
Recent fix to export memcmp() for gcc 3.4 caused a lot of warnings
on setups using CONFIG_MODVERSION=y.

This symbol must be exported with EXPORT_SYMBOL_NOVERS, since we don't
want its name to be mangled. Thanks to Solar Designer for reporting
the issue.

Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>lib: export memcmp for external modules to build with gcc 3.4</title>
<updated>2009-07-19T23:25:16Z</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2009-07-19T22:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=9eb03a2e18e8c305cb7e01ad3c424a1621c2ff2a'/>
<id>urn:sha1:9eb03a2e18e8c305cb7e01ad3c424a1621c2ff2a</id>
<content type='text'>
When building external modules for a kernel built with gcc-3.4, it
sometimes happens that the module depends on memcmp() which is not
defined. x86 only relies on __builtin_memcmp() which is not always
available on other gccs. Since the mapping of memcmp() to
__builtin_memcmp() is performed using a #define, no memcmp() symbol
is declared. We have to export it in lib/string.c, as in 2.6.

Note that 2.6 also undefines a few other symbols and exports all
symbols. Right now this does not seem absolutely necessary on 2.4,
so let's not touch this for now.
</content>
</entry>
<entry>
<title>Revert unnecessary zlib_inflate/inftress.c fix</title>
<updated>2005-08-18T18:44:34Z</updated>
<author>
<name>Marcelo Tosatti</name>
<email>marcelo@dmt.cnet</email>
</author>
<published>2005-08-18T18:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=57e34ac96389c65a4546e6032ffbe43792f87d38'/>
<id>urn:sha1:57e34ac96389c65a4546e6032ffbe43792f87d38</id>
<content type='text'>
It turns out that empty distance code tables are not an error, and that
a compressed block with only literals can validly have an empty table
and should not be flagged as a data error.

Some old versions of gzip had problems with this case, but it does not
affect the zlib code in the kernel.

Analysis and explanations thanks to Sergey Vlasov &lt;vsu@altlinux.ru&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix RedBlackTree rb_next/rb_prev functions</title>
<updated>2005-08-06T17:58:47Z</updated>
<author>
<name>deep-blue@t-online.de</name>
<email>deep-blue@t-online.de</email>
</author>
<published>2005-08-06T17:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=b692fcecfc80410690da01f006ae44e491bab8cf'/>
<id>urn:sha1:b692fcecfc80410690da01f006ae44e491bab8cf</id>
<content type='text'>
I have found a bug in the source of rbtree.c file in /lib. In Kernel 2.6 it's
ok, but 2.4.31 has this error.

We try to use it with the jffs2 source code and only with this fix it work's
fine.

Signed-off-by: Marcelo Tosatti &lt;marcelo.tosatti@cyclades.com&gt;
</content>
</entry>
<entry>
<title>The gzip description is as good as the ChangeLog says it is -: "Set n to</title>
<updated>2005-07-26T15:47:36Z</updated>
<author>
<name>Tim Yamin</name>
<email>plasmaroo@gentoo.org</email>
</author>
<published>2005-07-26T11:15:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=cd28e52cc3631e2a336a7bbaa9d01e8478eb759c'/>
<id>urn:sha1:cd28e52cc3631e2a336a7bbaa9d01e8478eb759c</id>
<content type='text'>
length of v, to detect improper tables" and "Don't accidentally grow j
past z". The return 2 instead of the return 0 is so that we actually
error out if we also get inproper tables (for some reason the code
returned "OK" in such cases).

Fix outstanding security bugs in the Linux zlib implementations. See:

a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html
b) http://bugs.gentoo.org/show_bug.cgi?id=94584

Signed-off-by: Tim Yamin &lt;plasmaroo@gentoo.org&gt;
Signed-off-by: Tavis Ormandy &lt;taviso@gentoo.org&gt;
</content>
</entry>
<entry>
<title>initial v2.4 GIT import</title>
<updated>2005-06-02T20:44:34Z</updated>
<author>
<name>Marcelo</name>
<email>marcelo@xeon.cnet</email>
</author>
<published>2005-06-02T20:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=284ce8b6e650e54a0348ebecb6c05d5acc899e56'/>
<id>urn:sha1:284ce8b6e650e54a0348ebecb6c05d5acc899e56</id>
<content type='text'>
</content>
</entry>
</feed>
