]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Remove inhibit_stack_protector from __ifunc_resolver
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 May 2026 17:26:43 +0000 (14:26 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Jun 2026 19:20:20 +0000 (16:20 -0300)
With 01964c3ec8e fix ifunc resolvers can be fully instrumented with
stack protector.

Checked on aarch64-linux-gnu, x86_64-linux-gnu, and i686-linux-gnu
built with --enable-stack-protector=all.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
include/libc-symbols.h

index 6a9f6403ab98e632b3f2a2a351dd5569d09a7c3b..2387954f7fc650ea65058eeaea799c752963d22f 100644 (file)
@@ -671,7 +671,7 @@ for linking")
 
 /* Helper / base  macros for indirect function symbols.  */
 #define __ifunc_resolver(type_name, name, expr, init, classifier, ...) \
-  classifier inhibit_stack_protector                                   \
+  classifier                                                           \
   __typeof (type_name) *name##_ifunc (__VA_ARGS__)                     \
   {                                                                    \
     init ();                                                           \