Remove PSL_MBO (the bits that Must Be One) from PSL_USER - which are the
bits that the 'user' can change. Who knows what the effect of a user signal handler (which I think might have access to the bits) changing these bits might be!
This commit is contained in:
parent
f93a860daa
commit
d1779123ae
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.5 2008/09/18 15:57:04 christos Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.6 2008/09/18 21:09:18 dsl Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -70,7 +70,7 @@
|
|||
#else
|
||||
#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VM | PSL_VIF | PSL_VIP)
|
||||
#endif
|
||||
#define PSL_USER (PSL_C | PSL_MBO | PSL_PF | PSL_AF | PSL_Z | PSL_N | \
|
||||
#define PSL_USER (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | \
|
||||
PSL_T | PSL_V | PSL_D)
|
||||
#define PSL_CLEARSIG (PSL_T | PSL_VM | PSL_AC | PSL_D)
|
||||
|
||||
|
|
Loading…
Reference in New Issue