lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 02/15] objtool: Add ASM_STACK_FRAME_NON_STANDARD
    On Wed, Oct 13, 2021 at 11:16:45AM -0700, Sami Tolvanen wrote:
    > To use the STACK_FRAME_NON_STANDARD macro for a static symbol
    > defined in inline assembly, we need a C declaration that implies
    > global visibility. This type mismatch confuses the compiler with
    > CONFIG_CFI_CLANG. This change adds an inline assembly version of
    > the macro to avoid the issue.
    >
    > Signed-off-by: Sami Tolvanen <samitolvanen@google.com>

    Reviewed-by: Kees Cook <keescook@chromium.org>

    --
    Kees Cook

    \
     
     \ /
      Last update: 2021-10-13 21:00    [W:2.777 / U:25.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site