diff options
author | hsu <hsu@FreeBSD.org> | 1994-02-24 00:21:12 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 1994-02-24 00:21:12 +0000 |
commit | be26cbadc86ed5fbfb5769a2b5ae5e0b522e3242 (patch) | |
tree | e4759ab97887c0fca7428fe389975fc2db620102 | |
parent | 981a6e72f13459c01528bc28c4a6a2e94e6a44e7 (diff) | |
download | FreeBSD-src-be26cbadc86ed5fbfb5769a2b5ae5e0b522e3242.zip FreeBSD-src-be26cbadc86ed5fbfb5769a2b5ae5e0b522e3242.tar.gz |
Correct definitions of flags used by sigreturn to validate sigcontext.
-rw-r--r-- | sys/amd64/include/psl.h | 8 | ||||
-rw-r--r-- | sys/i386/include/psl.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/amd64/include/psl.h b/sys/amd64/include/psl.h index ca56538..997fb23 100644 --- a/sys/amd64/include/psl.h +++ b/sys/amd64/include/psl.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)psl.h 5.2 (Berkeley) 1/18/91 - * $Id: psl.h,v 1.2 1993/10/16 14:39:26 rgrimes Exp $ + * $Id: psl.h,v 1.3 1993/11/07 17:43:04 wollman Exp $ */ #ifndef _MACHINE_PSL_H_ @@ -57,9 +57,9 @@ #define PSL_RF 0x00010000 /* restart flag bit */ #define PSL_VM 0x00020000 /* virtual 8086 mode bit */ -#define PSL_MBZ 0xfffc7fb7 /* must be zero bits */ +#define PSL_MBZ 0xffc08028 /* must be zero bits */ #define PSL_MBO 0x00000002 /* must be one bits */ -#define PSL_USERSET (PSL_IOPL) -#define PSL_USERCLR (PSL_I|PSL_NT) +#define PSL_USERSET (PSL_MBO | PSL_I) +#define PSL_USERCLR (PSL_MBZ | PSL_NT) #endif /* _MACHINE_PSL_H_ */ diff --git a/sys/i386/include/psl.h b/sys/i386/include/psl.h index ca56538..997fb23 100644 --- a/sys/i386/include/psl.h +++ b/sys/i386/include/psl.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)psl.h 5.2 (Berkeley) 1/18/91 - * $Id: psl.h,v 1.2 1993/10/16 14:39:26 rgrimes Exp $ + * $Id: psl.h,v 1.3 1993/11/07 17:43:04 wollman Exp $ */ #ifndef _MACHINE_PSL_H_ @@ -57,9 +57,9 @@ #define PSL_RF 0x00010000 /* restart flag bit */ #define PSL_VM 0x00020000 /* virtual 8086 mode bit */ -#define PSL_MBZ 0xfffc7fb7 /* must be zero bits */ +#define PSL_MBZ 0xffc08028 /* must be zero bits */ #define PSL_MBO 0x00000002 /* must be one bits */ -#define PSL_USERSET (PSL_IOPL) -#define PSL_USERCLR (PSL_I|PSL_NT) +#define PSL_USERSET (PSL_MBO | PSL_I) +#define PSL_USERCLR (PSL_MBZ | PSL_NT) #endif /* _MACHINE_PSL_H_ */ |