From b42c354f9d2b5ded302c9a6495f932144a89e87e Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 28 Dec 2013 18:42:42 +0000 Subject: [PATCH] Do not need __guard[] anymore since we are now relying on __guard_local for a while already ok miod kettenis --- lib/libc/sys/stack_protector.c | 4 +--- 1 file changed, 1 insertion(+), 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 #include -long __guard[8] __attribute__((section(".openbsd.randomdata"))); - void __stack_smash_handler(char func[], int damaged __attribute__((unused))); /*ARGSUSED*/ -- 2.20.1