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

This commit is contained in:
kato 1999-04-20 09:08:51 +00:00
parent fd6afc20ab
commit dd587e19a0
2 changed files with 2 additions and 10 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.111 1999/04/03 22:20:02 jdp Exp $
* $Id: machdep.c,v 1.112 1999/04/18 14:42:15 kato Exp $
*/
#include "apm.h"
@ -550,11 +550,7 @@ 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.111 1999/04/03 22:20:02 jdp Exp $
* $Id: machdep.c,v 1.112 1999/04/18 14:42:15 kato Exp $
*/
#include "apm.h"
@ -550,11 +550,7 @@ 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