mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
2004-03-06 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c: No need to pass any parameter to _dl_start_profile. They are the same in both places. * elf/dl-profile.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * elf/dl-support.c: Define _dl_profile_output variable. Initialize it.
This commit is contained in:
@ -49,6 +49,7 @@ int _dl_verbose;
|
||||
|
||||
/* We never do profiling. */
|
||||
const char *_dl_profile;
|
||||
const char *_dl_profile_output;
|
||||
|
||||
/* Names of shared object for which the RUNPATHs and RPATHs should be
|
||||
ignored. */
|
||||
@ -247,6 +248,11 @@ _dl_non_dynamic_init (void)
|
||||
|
||||
_dl_dynamic_weak = *(getenv ("LD_DYNAMIC_WEAK") ?: "") == '\0';
|
||||
|
||||
_dl_profile_output = getenv ("LD_PROFILE_OUTPUT");
|
||||
if (_dl_profile_output == NULL || _dl_profile_output[0] == '\0')
|
||||
_dl_profile_output
|
||||
= &"/var/tmp\0/var/profile"[__libc_enable_secure ? 9 : 0];
|
||||
|
||||
if (__libc_enable_secure)
|
||||
{
|
||||
static const char *unsecure_envvars[] =
|
||||
|
Reference in New Issue
Block a user