summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/stack_protector.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-12-28 18:42:42 +0000
committerderaadt <deraadt@openbsd.org>2013-12-28 18:42:42 +0000
commitb42c354f9d2b5ded302c9a6495f932144a89e87e (patch)
tree38e96b23dc23598ffd87ed1cc04341de55d9ea7e /lib/libc/sys/stack_protector.c
parentDo not need __guard anymore (diff)
downloadwireguard-openbsd-b42c354f9d2b5ded302c9a6495f932144a89e87e.tar.xz
wireguard-openbsd-b42c354f9d2b5ded302c9a6495f932144a89e87e.zip
Do not need __guard[] anymore since we are now relying on __guard_local
for a while already ok miod kettenis
Diffstat (limited to 'lib/libc/sys/stack_protector.c')
-rw-r--r--lib/libc/sys/stack_protector.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/sys/stack_protector.c b/lib/libc/sys/stack_protector.c
index c89f572c1ee..5cdb06d282a 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.14 2013/12/27 18:32:19 deraadt Exp $ */
+/* $OpenBSD: stack_protector.c,v 1.15 2013/12/28 18:42:42 deraadt Exp $ */
/*
* Copyright (c) 2002 Hiroaki Etoh, Federico G. Schwindt, and Miodrag Vallat.
@@ -33,8 +33,6 @@
#include <syslog.h>
#include <unistd.h>
-long __guard[8] __attribute__((section(".openbsd.randomdata")));
-
void __stack_smash_handler(char func[], int damaged __attribute__((unused)));
/*ARGSUSED*/