Thread (123 messages) 123 messages, 12 authors, 2018-08-14

Re: [RFC PATCH v2 27/27] x86/cet: Add arch_prctl functions for CET

From: Yu-cheng Yu <hidden>
Date: 2018-07-11 21:06:19
Also in: linux-api, linux-doc, linux-mm, lkml

On Wed, 2018-07-11 at 14:19 +0200, Florian Weimer wrote:
On 07/11/2018 12:26 AM, Yu-cheng Yu wrote:
quoted
arch_prctl(ARCH_CET_DISABLE, unsigned long features)
     Disable SHSTK and/or IBT specified in 'features'.  Return
-EPERM
     if CET is locked out.

arch_prctl(ARCH_CET_LOCK)
     Lock out CET feature.
Isn't it a “lock in” rather than a “lock out”?
Yes, that makes more sense.  I will fix it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help