Synchronize with sys/i386/i386/machdep.c revision 1.232.
This commit is contained in:
parent
03e9a2b1ca
commit
e0762592a1
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.30 1997/03/22 18:54:33 kato Exp $
|
||||
* $Id: machdep.c,v 1.31 1997/03/24 12:29:14 bde Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -579,7 +579,7 @@ sigreturn(p, uap, retval)
|
||||
((caddr_t)scp - offsetof(struct sigframe, sf_sc));
|
||||
|
||||
if (useracc((caddr_t)fp, sizeof (*fp), B_WRITE) == 0)
|
||||
return(EINVAL);
|
||||
return(EFAULT);
|
||||
|
||||
/*
|
||||
* Don't allow users to change privileged or reserved flags.
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.30 1997/03/22 18:54:33 kato Exp $
|
||||
* $Id: machdep.c,v 1.31 1997/03/24 12:29:14 bde Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -579,7 +579,7 @@ sigreturn(p, uap, retval)
|
||||
((caddr_t)scp - offsetof(struct sigframe, sf_sc));
|
||||
|
||||
if (useracc((caddr_t)fp, sizeof (*fp), B_WRITE) == 0)
|
||||
return(EINVAL);
|
||||
return(EFAULT);
|
||||
|
||||
/*
|
||||
* Don't allow users to change privileged or reserved flags.
|
||||
|
Loading…
Reference in New Issue
Block a user