diff options
author | 2013-12-28 18:42:42 +0000 | |
---|---|---|
committer | 2013-12-28 18:42:42 +0000 | |
commit | b42c354f9d2b5ded302c9a6495f932144a89e87e (patch) | |
tree | 38e96b23dc23598ffd87ed1cc04341de55d9ea7e /lib/libc/sys/stack_protector.c | |
parent | Do not need __guard anymore (diff) | |
download | wireguard-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.c | 4 |
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*/ |