diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-11 22:33:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-11 22:33:12 +0000 |
commit | 6a739f2f5d28e925927f1f9745838bc0da2160ac (patch) | |
tree | 79dabf0963e180f3b24f15f02afcfe8e2e03093d /sys/arch | |
parent | 98421c3e0b0b25ab3a1e5956aea147e56dcdfa57 (diff) |
delete SROP mitigation debug code; it works
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sh/sh/sh_machdep.c | 3 |
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 |