diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-09 04:32:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-09 04:32:41 +0000 |
commit | 92effacf83a28fc89eb1b04d23a32e1d015f0613 (patch) | |
tree | 81b99b53210199a2784572afd356aa1df09d1fe1 | |
parent | 27f9ede1e987af3871fd37a00de2ae5ed276bb7e (diff) | |
download | glibc-92effacf83a28fc89eb1b04d23a32e1d015f0613.zip glibc-92effacf83a28fc89eb1b04d23a32e1d015f0613.tar.gz glibc-92effacf83a28fc89eb1b04d23a32e1d015f0613.tar.bz2 |
Update.
* elf/rtld.c (process_envvars): Place output files for profiling
in SUID binaries in /var/profile.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | elf/rtld.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2001-01-08 Ulrich Drepper <drepper@redhat.com> + * elf/rtld.c (process_envvars): Place output files for profiling + in SUID binaries in /var/profile. + * elf/dl-load.c (_dl_map_object): Don't look in cache for preloading in SUID binaries. @@ -1,5 +1,5 @@ /* Run time dynamic linker. - Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1322,7 +1322,7 @@ process_envvars (enum mode *modep, int *lazyp) char *debug_output = NULL; /* This is the default place for profiling data file. */ - _dl_profile_output = "/var/tmp"; + _dl_profile_output = __libc_enable_secure ? "/var/profile" : "/var/tmp"; while ((envline = _dl_next_ld_env_entry (&runp)) != NULL) { |