This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Fix struct siginfo
- To: Alan Cox <alan at lxorguk dot ukuu dot org dot uk>
- Subject: Re: Fix struct siginfo
- From: Chris Wing <wingc at engin dot umich dot edu>
- Date: Wed, 19 Jan 2000 09:34:30 -0500 (EST)
- cc: Andreas Jaeger <aj at suse dot de>, torvalds at transmeta dot com, libc-alpha at sourceware dot cygnus dot com, linux-kernel at vger dot rutgers dot edu
Alan:
> > And glibc relied on thisall the time, have a look at
> > <bits/siginfo.h>:
>
> Oh jeez 8)
>
> > What kind of old binaries? glibc 2.1 has externally 32bit uids - and
> > realtime signals (which use siginfo) are not supported by libc5 AFAIK.
>
> If libc5 doesnt support signinfo and glibc always relied on a couple of
> random numbrs being zero then ok. I hadn't realised that glibc was using
> the unsafe values directly and getting away with it..
Lousy, isn't it?
On the bright side, if we change it now, every program using glibc will
work properly on i386, there will be less overhead in the signal code
(good because real-time signals should be FAST), and the only platform
that will require recompiles is m68k.
-Chris
wingc@engin.umich.edu