diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-04 17:23:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-04 17:23:41 +0000 |
commit | cbcd753c2665d057667a95580e9ba6d544b0ff51 (patch) | |
tree | 53f5ac94882b932a0c3357bb4484b9d8ff612ed6 /sys | |
parent | c1f3233213d2d9333ae175c58918819bdd63164f (diff) |
an important comment
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index 4f2dd54ab4c..a71e2f76926 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.18 1997/02/03 15:04:58 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.19 1997/02/04 17:22:52 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -847,6 +847,7 @@ sendsig(catcher, sig, mask, code, type, val) kfp->sf_scp = hkfp->hsf_scp; } #endif + /* XXX do not copy out siginfo if not needed */ (void) copyout((caddr_t)kfp, (caddr_t)fp, fsize); frame->f_regs[SP] = (int)fp; #ifdef DEBUG diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index f0054117fd9..ded5e96700c 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -543,6 +543,7 @@ sendsig(catcher, sig, mask, code, type, val) */ newsp = (int)fp - sizeof(struct rwindow); write_user_windows(); + /* XXX do not copyout siginfo if not needed */ if (rwindow_save(p) || copyout((caddr_t)&sf, (caddr_t)fp, sizeof sf) || suword(&((struct rwindow *)newsp)->rw_in[6], oldsp)) { /* |