[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361024: about glibc bug(?)



Sheplyakov Alexei wrote:
On Fri, 07 Apr 2006 19:17:03 +0200, Aurelien Jarno wrote:

glibc does support TLS on all kernels (even non-linux ones), if there is
the corresponding kernel support. So please don't claim this is a glibc bug.

The test program included in #226716 fails under 2.4 kernel and works as
expected under 2.6 kernel. So I think this is glibc bug (unless that program is buggy itself). The version of libc6 package I use is 2.3.6-4.


Ok let's take an example then:

On a 2.4 kernel:
#mount none /sys -t sysfs
mount: unknown filesystem type 'sysfs'
#

On a 2.6 kernel:
#mount none /sys -t sysfs
#

As you can see the first one fails with 2.4 kernel and successes with a 2.6 kernel. Can you conclude that mount is buggy? No it's just some missing features in the 2.4 kernel, just as for TLS and the glibc.

The only problem in bug #226716 is that the glibc should refuse to execute such programs instead of silently failing. But in the case of the current bug, this is actually the case, it says "cannot handle TLS data". So this is not a bug in the glibc.

Bye,
Aurelien

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: