Sync with sys/i386/i386/machdep.c revision 1.330.
This commit is contained in:
parent
fd6afc20ab
commit
dd587e19a0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user