]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Name a.out LD* envvars.
authorUlrich Drepper <drepper@redhat.com>
Thu, 9 Jul 1998 14:06:39 +0000 (14:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 9 Jul 1998 14:06:39 +0000 (14:06 +0000)
sysdeps/unix/sysv/linux/i386/dl-envvars.h [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/i386/dl-envvars.h b/sysdeps/unix/sysv/linux/i386/dl-envvars.h
new file mode 100644 (file)
index 0000000..aa8488b
--- /dev/null
@@ -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)