Re: [PATCH v3 4/7] kunit: Handle test faults

2024-03-23 Thread David Gow
On Tue, 19 Mar 2024 at 18:49, Mickaël Salaün wrote: > > Previously, when a kernel test thread crashed (e.g. NULL pointer > dereference, general protection fault), the KUnit test hanged for 30 > seconds and exited with a timeout error. > > Fix this issue by waiting on task_struct->vfork_done instea

Re: [PATCH] x86, relocs: Ignore relocations in .notes section on walk_relocs

2024-03-23 Thread Borislav Petkov
On Fri, Mar 22, 2024 at 04:40:11PM -0700, Kees Cook wrote: > The earlier patch, commit aaa8736370db ("x86, relocs: Ignore relocations > in .notes section"), landed via my tree. It was sent out on Feb 22nd > (v1[1]) and got a suggestion from HPA and a Review from Juergen Gross. > I sent v2 Feb 27th[

Re: [PATCH 1/1] arm64: syscall: Direct PRNG kstack randomization

2024-03-23 Thread Arnd Bergmann
On Sat, Mar 23, 2024, at 00:40, Jeremy Linton wrote: > On 3/8/24 14:29, Arnd Bergmann wrote: >> On Fri, Mar 8, 2024, at 17:49, Jeremy Linton wrote: >>> On 3/7/24 05:10, Arnd Bergmann wrote: I'm not sure I understand the logic. Do you mean that accessing CNTVCT itself is slow, or that

[PATCH] x86/build: Clean up arch/x86/tools/relocs.c a bit

2024-03-23 Thread Ingo Molnar
* Kees Cook wrote: > On Fri, Mar 22, 2024 at 09:45:12AM +0100, Ingo Molnar wrote: > > > > * Kees Cook wrote: > > > > > On Sun, 17 Mar 2024 23:05:47 +0800, Guixiong Wei wrote: > > > > The commit aaa8736370db ("x86, relocs: Ignore relocations in > > > > .notes section") only ignore .note secti