tech-userlevel archive

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

Re: Libc support for old BSD-style "sigcontext" signal handlers is broken, let's just kill it.



> On Oct 26, 2021, at 6:56 AM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
> Obviously, the practical impact of this is nil, since no one apparently noticed (and I guess we didn’t break any programs that people were using). We haven’t documented that style of handler for a VERY long time but presumably the intent was for it to continue to work because the code remained and was modified several times over the years. (it was certainly my original intent when I first added support for multiple signal trampolines in a single process ~20 years ago, and it did in fact work for the first few years that code existed).

Oh, I suppose I should also point out that kernel support for the older trampoline is in the COMPAT_16 module (the new “siginfo” stuff was added in NetBSD 2.0).

-- thorpej



Home | Main Index | Thread Index | Old Index