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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24285
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.