1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00
* elf/rtld.c (process_envvars): Place output files for profiling
	in SUID binaries in /var/profile.
This commit is contained in:
Ulrich Drepper
2001-01-09 04:32:41 +00:00
parent 27f9ede1e9
commit 92effacf83
2 changed files with 5 additions and 2 deletions

View File

@@ -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)
{