V3 [PATCH 04/12] x86/CET: Extend arch_prctl syscall for CET control

Joseph Myers joseph@codesourcery.com
Tue Jul 24 15:56:00 GMT 2018


On Tue, 24 Jul 2018, H.J. Lu wrote:

> CET arch_prctl bits should be defined in <asm/prctl.h> from Linux kernel
> header files.   Here is the updated patch to add x86 <include/asm/prctl.h>.
> 
> OK for master?

I don't think the relevant condition for removing such a wrapper is "after 
the CET kernel interface has been committed into the public kernel".  It's 
after we require kernel headers recent enough to have that interface, 
which may well be several years away.  Once the interface has been 
committed into the public kernel, the wrapper should be updated to name 
the kernel version that has it and to say it should be removed once we 
require kernel headers at least that recent.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list