local-no-execfn
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 16 Dec 2017 14:37:43 +0000 (14:37 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 16 Dec 2017 14:37:43 +0000 (14:37 +0000)
AT_EXECFN is Linux specific

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

elf/rtld.c

index 9362a21e73ac40851bce67ca388c50af7305c1c1..ea1d128a9d53b7815c68ed95627e8e6e22b95e7a 100644 (file)
@@ -1090,9 +1090,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
     }