Re: [PATCH] signal/x86: Don't send SIGSEGV twice on SEGV_PKUERR
From: Borislav Petkov
Date: Fri Jun 04 2021 - 10:54:23 EST
On Fri, Jun 04, 2021 at 09:33:12AM -0500, Eric W. Biederman wrote:
> At some point I just figured someone needs to take the time to
> understand the linux signal handling and get as many bugs out as we
> can. It may not be flashy but it is one of those core things
> that everything is built on so we need code that works.
Oh yeah, good idea. Signals and their handling make most people cringe.
Also, selftests. I wonder if it would be a good idea to make it a
kernelnewbies project for people to do short programs, each exercising
an API from the Linux manpages.
Or maybe even get Michael (CCed) to donate some of the examples from his
book:
https://man7.org/tlpi/code/online/all_files_by_chapter.html
in this case, chapters 20-22, as selftests for the kernel. Or maybe even
all examples. :-)
Just an idea anyway.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette