diff options
| author | KATO Takenori <kato@FreeBSD.org> | 1999-01-08 16:04:20 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 1999-01-08 16:04:20 +0000 |
| commit | b4d4a2e5d48fc8da7314d320c7461a4b3cae09c3 (patch) | |
| tree | 8986cc3732c25b7b14d7db6b87ada52c585fe818 /sys/pc98 | |
| parent | f8f8d7afe84e3fc3f9ba2d2d57daf2f002aa6d2d (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/i386/machdep.c | 6 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 121a21dfd7b6..3cee3016660f 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.102 1998/12/11 08:04:33 kato Exp $ + * $Id: machdep.c,v 1.103 1998/12/16 16:28:57 bde Exp $ */ #include "apm.h" @@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code) * and the stack can not be grown. useracc will return FALSE * if access is denied. */ +#ifdef VM_STACK + if ((grow_stack (p, (int)fp) == FALSE) || +#else if ((grow(p, (int)fp) == FALSE) || +#endif (useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) { /* * Process has trashed its stack; give it an illegal diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 121a21dfd7b6..3cee3016660f 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.102 1998/12/11 08:04:33 kato Exp $ + * $Id: machdep.c,v 1.103 1998/12/16 16:28:57 bde Exp $ */ #include "apm.h" @@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code) * and the stack can not be grown. useracc will return FALSE * if access is denied. */ +#ifdef VM_STACK + if ((grow_stack (p, (int)fp) == FALSE) || +#else if ((grow(p, (int)fp) == FALSE) || +#endif (useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) { /* * Process has trashed its stack; give it an illegal |
