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:
parent
f8f8d7afe8
commit
b4d4a2e5d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42403
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
* 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"
|
#include "apm.h"
|
||||||
@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code)
|
|||||||
* and the stack can not be grown. useracc will return FALSE
|
* and the stack can not be grown. useracc will return FALSE
|
||||||
* if access is denied.
|
* if access is denied.
|
||||||
*/
|
*/
|
||||||
|
#ifdef VM_STACK
|
||||||
|
if ((grow_stack (p, (int)fp) == FALSE) ||
|
||||||
|
#else
|
||||||
if ((grow(p, (int)fp) == FALSE) ||
|
if ((grow(p, (int)fp) == FALSE) ||
|
||||||
|
#endif
|
||||||
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
|
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
|
||||||
/*
|
/*
|
||||||
* Process has trashed its stack; give it an illegal
|
* Process has trashed its stack; give it an illegal
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
* 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"
|
#include "apm.h"
|
||||||
@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code)
|
|||||||
* and the stack can not be grown. useracc will return FALSE
|
* and the stack can not be grown. useracc will return FALSE
|
||||||
* if access is denied.
|
* if access is denied.
|
||||||
*/
|
*/
|
||||||
|
#ifdef VM_STACK
|
||||||
|
if ((grow_stack (p, (int)fp) == FALSE) ||
|
||||||
|
#else
|
||||||
if ((grow(p, (int)fp) == FALSE) ||
|
if ((grow(p, (int)fp) == FALSE) ||
|
||||||
|
#endif
|
||||||
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
|
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
|
||||||
/*
|
/*
|
||||||
* Process has trashed its stack; give it an illegal
|
* Process has trashed its stack; give it an illegal
|
||||||
|
Loading…
Reference in New Issue
Block a user