lkml.org 
[lkml]   [2022]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [OPTIONAL/RFC v2 37/39] x86/cet: Add PTRACE interface for CET
    On Mon, Oct 03, 2022 at 04:59:43PM -0700, Kees Cook wrote:
    > On Thu, Sep 29, 2022 at 03:29:34PM -0700, Rick Edgecombe wrote:
    > > From: Yu-cheng Yu <yu-cheng.yu@intel.com>
    > >
    > > Some applications (like GDB and CRIU) would like to tweak CET state via
    >
    > Eee. Does GDB really need this? Can we make this whole thing
    > CONFIG-depend on CRIU?

    GDB, at least its Intel fork uses this. I don't see how they can jump
    between frames without an ability to modify shadow stack contents.

    Last I looked they used NT_X86_CET to update SSP and ptrace(POKEDATA) to
    write to the shadow stack.

    > --
    > Kees Cook

    --
    Sincerely yours,
    Mike.

    \
     
     \ /
      Last update: 2022-10-04 10:45    [W:2.895 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site