lkml.org 
[lkml]   [2022]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [patch 00/38] x86/retbleed: Call depth tracking mitigation
    On Tue, Jul 19, 2022 at 1:26 AM David Laight <David.Laight@aculab.com> wrote:
    >
    > Shouldn't it be testing the value the caller supplied?

    Actually, I'm just all confused.

    All that verification code is *in* the caller, before the call - to
    verify that the target looks fine.

    I think I was confused by the hash thunk above the function also being
    generated with a "cmpl $hash". And I don't even know why that is, and
    why it wasn't just the bare constant.

    Linus

    \
     
     \ /
      Last update: 2022-07-19 18:37    [W:4.160 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site