Synchronize with sys/i386/i386/machdep.c revision 1.232.

This commit is contained in:
KATO Takenori 1997-03-26 07:03:30 +00:00
parent 03e9a2b1ca
commit e0762592a1
2 changed files with 4 additions and 4 deletions

View File

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

View File

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