Subject: Re: CVS commit: src/sys/kern
To: None <M.Drochner@fz-juelich.de>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 03/26/2004 09:51:25
On Mar 26,  3:41pm, M.Drochner@fz-juelich.de (Matthias Drochner) wrote:
-- Subject: Re: CVS commit: src/sys/kern

| 
| christos@zoulas.com said:
| > We should remove the __HAVE_SIGINFO code now.
| 
| Hmm - seems doable. There are obviously some (most)
| ports not defining __HAVE_SIGINFO in libc and using
| obsolete names for SYS_*sigreturn*, but this should cause
| build errors and is easily identified.
| (The libc sigreturn() implementations have bugs
| anyway, see eg on alpha:
| $ nm /lib/libc.so|grep sigreturn
| 0000000000029710 T compat_16___sigreturn14
| 00000000000696e0 T sigreturn
| )

Yes, fortunately build failures are easy to fix.

| > Only the hp700
| > port is affected, and nobody seems to want to do the work.
| 
| I've put some glue code there which makes hppa use ksiginfo
| just as container for signo and code, so it looks like
| SIGINFO using for the rest of the kernel. Not nice, but
| still better than completely breaking it...

That is a really neat trick :-) Well, now we can remove the __HAVE_SIGINFO
hack.

christos