From d1ee3cf57f92ac231c339a484cca48c724b3f9af Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 31 Mar 1997 17:28:07 +0000 Subject: [PATCH] do not let PSL_NT be set in VM86 mode; netbsd --- sys/arch/i386/include/psl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/include/psl.h b/sys/arch/i386/include/psl.h index ed357a93f13..4d54be52499 100644 --- a/sys/arch/i386/include/psl.h +++ b/sys/arch/i386/include/psl.h @@ -67,9 +67,9 @@ #define PSL_USERSET (PSL_MBO | PSL_I) #ifdef VM86 -#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_VIF | PSL_VIP) +#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VIF | PSL_VIP) #else -#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_VM | PSL_VIF | PSL_VIP) +#define PSL_USERSTATIC (PSL_MBO | PSL_MBZ | PSL_I | PSL_IOPL | PSL_NT | PSL_VM | PSL_VIF | PSL_VIP) #endif #ifdef _KERNEL -- 2.20.1