[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YLo+l4KyKNPxupM2@zn.tnic>
Date: Fri, 4 Jun 2021 16:54:15 +0200
From: Borislav Petkov <bp@...en8.de>
To: "Eric W. Biederman" <ebiederm@...ssion.com>, mtk@...7.org
Cc: Jiashuo Liang <liangjs@....edu.cn>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] signal/x86: Don't send SIGSEGV twice on SEGV_PKUERR
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
Powered by blists - more mailing lists