From: Ulrich Drepper Date: Thu, 9 Jul 1998 14:06:39 +0000 (+0000) Subject: Name a.out LD* envvars. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d678fe71f9a0135f28a91ed96aa91f7ac560ca5c;p=thirdparty%2Fglibc.git Name a.out LD* envvars. --- diff --git a/sysdeps/unix/sysv/linux/i386/dl-envvars.h b/sysdeps/unix/sysv/linux/i386/dl-envvars.h new file mode 100644 index 00000000000..aa8488bec83 --- /dev/null +++ b/sysdeps/unix/sysv/linux/i386/dl-envvars.h @@ -0,0 +1,10 @@ +/* We must remove the environment variables introduced for the a.out + dynamic loading. */ +#define EXTRA_UNSECURE_ENVVARS \ + do { \ + if (__libc_enable_secure) \ + { \ + unsetenv ("LD_AOUT_LIBRARY_PATH"); \ + unsetenv ("LD_AOUT_PRELOAD"); \ + } \ + } while (0)