summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/stack_protector.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2012-08-24 01:28:54 +0000
committermatthew <matthew@openbsd.org>2012-08-24 01:28:54 +0000
commit910c9818e1a7129c587e24b3020675d056404ecf (patch)
treec4fbdb85c3d1c7b829b2c56ad81268e3048bc51e /lib/libc/sys/stack_protector.c
parentcope with non-executable install-sh in unbound (diff)
downloadwireguard-openbsd-910c9818e1a7129c587e24b3020675d056404ecf.tar.xz
wireguard-openbsd-910c9818e1a7129c587e24b3020675d056404ecf.zip
Don't attempt to warn about uninitialized __guard values yet. It's
too early to assume that everyone has updated their compiler toolchains, and it seems to cause problems at least on armish when an out-of-date binutils is used.
Diffstat (limited to 'lib/libc/sys/stack_protector.c')
-rw-r--r--lib/libc/sys/stack_protector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/stack_protector.c b/lib/libc/sys/stack_protector.c
index 2aa187afbed..a6b147c1e22 100644
--- a/lib/libc/sys/stack_protector.c
+++ b/lib/libc/sys/stack_protector.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stack_protector.c,v 1.11 2012/08/22 17:06:39 matthew Exp $ */
+/* $OpenBSD: stack_protector.c,v 1.12 2012/08/24 01:28:54 matthew Exp $ */
/*
* Copyright (c) 2002 Hiroaki Etoh, Federico G. Schwindt, and Miodrag Vallat.
@@ -55,7 +55,7 @@ __guard_setup(void)
if (__guard[i] != 0)
return;
-#ifdef __ELF__
+#if 0
{
struct syslog_data sdata = SYSLOG_DATA_INIT;
syslog_r(LOG_WARNING, &sdata, "__guard not initialized");