From: Ulrich Drepper Date: Tue, 9 Jan 2001 04:32:41 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_1~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92effacf83a28fc89eb1b04d23a32e1d015f0613;p=platform%2Fupstream%2Fglibc.git Update. * elf/rtld.c (process_envvars): Place output files for profiling in SUID binaries in /var/profile. --- diff --git a/ChangeLog b/ChangeLog index 23d6c84..85e04cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-01-08 Ulrich Drepper + * 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. diff --git a/elf/rtld.c b/elf/rtld.c index ecc9385..9590875 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -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) {