mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
(process_envvars): Only use LD_ORIGIN_PATH if !enable secure.
This commit is contained in:
parent
5f62394167
commit
45769315c5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user