summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-05-30 15:58:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-05-30 15:58:25 +0000
commitd30bc259f49f621db5e9821b650f10ff32fc3b19 (patch)
tree13782de3f51404ebdb83063253243030c34603c6
parent80a698c6d9624e8f0309483f4cc25a4e94733204 (diff)
Unbreak tree for sparc, zapping ld_norandom strangely has a bad affect,
killing ld.so.
-rw-r--r--libexec/ld.so/loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c
index 0bcf1285d21..074b56bca45 100644
--- a/libexec/ld.so/loader.c
+++ b/libexec/ld.so/loader.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loader.c,v 1.58 2003/05/30 03:14:12 drahn Exp $ */
+/* $OpenBSD: loader.c,v 1.59 2003/05/30 15:58:24 drahn Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -173,10 +173,12 @@ _dl_boot(const char **argv, char **envp, const long loff, long *dl_data)
_dl_debug = NULL;
_dl_unsetenv("LD_DEBUG", envp);
}
+#if 0
if (_dl_norandom) {
_dl_norandom = NULL;
_dl_unsetenv("LD_NORANDOM", envp);
}
+#endif
}
_dl_progname = argv[0];