From: GNU Libc Maintainers Date: Wed, 30 Apr 2025 01:01:35 +0000 (+0800) Subject: local-no-execfn X-Git-Tag: archive/raspbian/2.31-13+rpi1+deb11u12^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d57ea020190222e4f82dd8921ab1555256fae0b1;p=glibc.git local-no-execfn AT_EXECFN is Linux specific Gbp-Pq: Topic kfreebsd Gbp-Pq: Name local-no-execfn.diff --- diff --git a/elf/rtld.c b/elf/rtld.c index 553cfbd1b..23cd73833 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1315,9 +1315,11 @@ of this helper program; chances are you did not intend to run this program.\n\ case AT_ENTRY: av->a_un.a_val = *user_entry; break; +# ifdef AT_EXECFN case AT_EXECFN: av->a_un.a_val = (uintptr_t) _dl_argv[0]; break; +# endif } #endif }