projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1584166
)
local-no-execfn
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Tue, 4 Feb 2020 19:37:26 +0000
(19:37 +0000)
committer
Aurelien Jarno
<aurel32@debian.org>
Tue, 4 Feb 2020 19:37:26 +0000
(19:37 +0000)
AT_EXECFN is Linux specific
Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-no-execfn.diff
elf/rtld.c
patch
|
blob
|
history
diff --git
a/elf/rtld.c
b/elf/rtld.c
index 5d97f41b7bccb61592e7fb84521f869475587734..58bf67c776b49d01568d429aed8a72c7481b5138 100644
(file)
--- a/
elf/rtld.c
+++ b/
elf/rtld.c
@@
-1094,9
+1094,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
}