[glibc] elf: Remove inhibit_stack_protector from __ifunc_resolver

Adhemerval Zanella via Glibc-cvs <[email protected]> Fri, 5 Jun 2026 19:21:39 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2b6f6710a1ee02b3ac87f3342306d82b3e7d087e

commit 2b6f6710a1ee02b3ac87f3342306d82b3e7d087e
Author: Adhemerval Zanella <[email protected]>
Date:   Mon May 25 14:26:43 2026 -0300

    elf: Remove inhibit_stack_protector from __ifunc_resolver
    
    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 <[email protected]>

Diff:
---
 include/libc-symbols.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 6a9f6403ab..2387954f7f 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -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 ();								\