summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-11 22:33:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-11 22:33:12 +0000
commit6a739f2f5d28e925927f1f9745838bc0da2160ac (patch)
tree79dabf0963e180f3b24f15f02afcfe8e2e03093d /sys/arch
parent98421c3e0b0b25ab3a1e5956aea147e56dcdfa57 (diff)
delete SROP mitigation debug code; it works
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sh/sh/sh_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/sh_machdep.c b/sys/arch/sh/sh/sh_machdep.c
index c07be231288..93df264b0d2 100644
--- a/sys/arch/sh/sh/sh_machdep.c
+++ b/sys/arch/sh/sh/sh_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh_machdep.c,v 1.43 2016/05/10 18:39:47 deraadt Exp $ */
+/* $OpenBSD: sh_machdep.c,v 1.44 2016/05/11 22:33:11 deraadt Exp $ */
/* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */
/*
@@ -487,7 +487,6 @@ sendsig(sig_t catcher, int sig, int mask, u_long code, int type,
frame.sf_uc.sc_mask = mask;
frame.sf_uc.sc_cookie = (long)&fp->sf_uc ^ p->p_p->ps_sigcookie;
-printf("cookie %lx\n", frame.sf_uc.sc_cookie);
if (copyout(&frame, fp, sizeof(frame)) != 0) {
/*
* Process has trashed its stack; give it an illegal