lkml.org 
[lkml]   [2022]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 03/35] x86/cpufeatures: Add CET CPU feature flags for Control-flow Enforcement Technology (CET)
    Date
    On Mon, 2022-02-07 at 14:45 -0800, Dave Hansen wrote:
    > Please add a chunk to the changelog that explains the dependency.
    > This
    > would suffice:
    >
    > To protect shadow stack state from malicious modification,
    > the
    > registers are only accessible in supervisor mode. This
    > implementation context-switches the registers with XSAVES.
    > Make
    > X86_FEATURE_SHSTK depend on XSAVES.

    Thanks. Yea, I don't think that part of the design is really elaborated
    on anywhere. It can be some foreshadowing for the signal stuff later
    too.
    \
     
     \ /
      Last update: 2022-02-08 23:41    [W:6.343 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site