Thread (21 messages) 21 messages, 4 authors, 2020-05-22

Re: [RFC PATCH 5/5] selftest/x86: Add CET quick test

From: Kees Cook <hidden>
Date: 2020-05-22 17:22:56
Also in: linux-api, linux-arch, linux-mm, lkml

On Fri, May 22, 2020 at 11:28:48AM +0200, Peter Zijlstra wrote:
Get asm/asm.h into userspace and then write something like:
Yeah, selftests is going to start suffering from the same "tools/ header
duplication" problem. I've also had cases (see the logic in the Makefile
in selftests/x86) where selftests is duplicating existing Kconfig and
Makefile logic ("can I build this way?")

But yes, I think getting a copy of asm.h would be nice here. I don't
think the WRITE_ONCE() is needed in this particular case. Hmm.

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help