From: kettenis Date: Tue, 27 Feb 2024 15:34:28 +0000 (+0000) Subject: Linux still doesn't actually implement IBT for userland. And by the pace X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=94b3843fdd6fbe93c7ca4c27f6f43b9379a31743;p=openbsd Linux still doesn't actually implement IBT for userland. And by the pace things are going, it will take another decade before it does. But OpenBSD has it enabled *by default* already. Drop the #ifdef __linux__. This should hurt other OSes when they finally catch up with us. ok robert@, tb@ --- diff --git a/gnu/llvm/libunwind/src/assembly.h b/gnu/llvm/libunwind/src/assembly.h index fb07d04071a..a7091108baf 100644 --- a/gnu/llvm/libunwind/src/assembly.h +++ b/gnu/llvm/libunwind/src/assembly.h @@ -15,7 +15,7 @@ #ifndef UNWIND_ASSEMBLY_H #define UNWIND_ASSEMBLY_H -#if defined(__linux__) && defined(__CET__) +#if defined(__CET__) #include #define _LIBUNWIND_CET_ENDBR _CET_ENDBR #else