1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Sync with sys/i386/i386/machdep.c revision 1.320.

This commit is contained in:
KATO Takenori 1999-01-08 16:04:20 +00:00
parent f8f8d7afe8
commit b4d4a2e5d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42403
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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