projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f62394
)
(process_envvars): Only use LD_ORIGIN_PATH if !enable secure.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 27 Aug 1998 20:52:37 +0000
(20:52 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 27 Aug 1998 20:52:37 +0000
(20:52 +0000)
elf/rtld.c
patch
|
blob
|
history
diff --git
a/elf/rtld.c
b/elf/rtld.c
index 600f062b3ca5b0b533f6489e8509a88cde9cdee1..283ea7e2a7c8ff1b35775e490a8f64332f77b301 100644
(file)
--- a/
elf/rtld.c
+++ b/
elf/rtld.c
@@
-1167,7
+1167,8
@@
process_envvars (enum mode *modep, int *lazyp)
case 11:
/* Path where the binary is found. */
- if (memcmp (&envline[3], "ORIGIN_PATH", 11) == 0)
+ if (!__libc_enable_secure
+ && memcmp (&envline[3], "ORIGIN_PATH", 11) == 0)
_dl_hwcap_mask = strtoul (&envline[15], NULL, 0);
break;