lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v2 01/39] Documentation/x86: Add CET description
    Date
    * Rick Edgecombe:

    > +To build a CET-enabled kernel, Binutils v2.31 and GCC v8.1 or LLVM v10.0.1
    > +or later are required. To build a CET-enabled application, GLIBC v2.28 or
    > +later is also required.

    Uhm, I think we are using binutils 2.30 with extra fixes. I hope that
    these binaries are still valid.

    More importantly, glibc needs to be configured with --enable-cet
    explicitly (unless the compiler defaults to CET). The default glibc
    build with a default GCC will produce dynamically-linked executables
    that disable CET (when running on later/differently configured glibc
    builds). The statically linked object files are not marked up for CET
    in that case.

    I think the goal is to support the new kernel interface for actually
    switching on SHSTK in glibc 2.37. But at that point, hopefully all
    those existing binaries can start enjoying the STSTK benefits.

    Thanks,
    Florian

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