hjl / source-git / glibc

Forked from source-git/glibc 3 years ago
Clone

6800f7 x86: Remove ARCH_CET_LEGACY_BITMAP [BZ #25397]

Authored and Committed by hjl 3 years ago
    x86: Remove ARCH_CET_LEGACY_BITMAP [BZ #25397]
    
    Since legacy bitmap doesn't cover jitted code generated by legacy JIT
    engine, it isn't very useful.  This patch removes ARCH_CET_LEGACY_BITMAP
    and treats indirect branch tracking similar to shadow stack by removing
    legacy bitmap support.
    
    Tested on CET Linux/x86-64 and non-CET Linux/x86-64.
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    
    (cherry picked from commit 1fabdb99084df004f7f4cdc7068d1be209a258be)
    
        
file modified
+6 -3
file modified
+60 -157
file modified
+0 -11