summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2008-06-26 07:52:45 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2008-06-26 07:52:45 +0000
commitd03c587ffaadfdd98a8f80a43540e8507b6ef136 (patch)
treebe33cabf41774f2cce52ff453a59c8e7ea375148 /sys
parent34a087543a115913db4641a79d3a3e45a76f0eac (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/stack_protector.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/stack_protector.c b/sys/kern/stack_protector.c
index 9135c29979fe..554d47d0a833 100644
--- a/sys/kern/stack_protector.c
+++ b/sys/kern/stack_protector.c
@@ -7,7 +7,6 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/libkern.h>
-#if defined(__SSP__) || defined(__SSP_ALL__)
long __stack_chk_guard[8] = {};
void __stack_chk_fail(void);
@@ -31,5 +30,3 @@ __stack_chk_init(void *dummy __unused)
}
/* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. */
SYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL);
-
-#endif