From d678fe71f9a0135f28a91ed96aa91f7ac560ca5c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Jul 1998 14:06:39 +0000 Subject: [PATCH] Name a.out LD* envvars. --- sysdeps/unix/sysv/linux/i386/dl-envvars.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/i386/dl-envvars.h 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) -- 2.47.2