local-no-execfn
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 7 Sep 2021 19:57:34 +0000 (20:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 7 Sep 2021 19:57:34 +0000 (20:57 +0100)
AT_EXECFN is Linux specific

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-no-execfn.diff

elf/rtld.c

index 14a42ed00a7af9a8ada50db314e07de5d6f8b452..9fc834cb402ce7b62596d99ffcfcf29cd4d2df2d 100644 (file)
@@ -1379,9 +1379,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
     }