summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/spigot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/spigot.c')
-rw-r--r--sys/i386/isa/spigot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/spigot.c b/sys/i386/isa/spigot.c
index d8c8ff1..093c30e 100644
--- a/sys/i386/isa/spigot.c
+++ b/sys/i386/isa/spigot.c
@@ -40,7 +40,7 @@
*
* ftp.cs.uwm.edu://pub/FreeBSD/spigot/spigot.tar.gz
*
- * Version 1.5, August 30, 1995.
+ * Version 1.6, Novemeber 21, 1995.
*
*/
@@ -225,9 +225,11 @@ struct spigot_info *info;
ss->signal_num = *((int *)data);
break;
case SPIGOT_IOPL_ON: /* allow access to the IO PAGE */
+#if !defined(SPIGOT_UNSECURE)
error = suser(p->p_ucred, &p->p_acflag);
if (error != 0)
return error;
+#endif
fp=(struct trapframe *)p->p_md.md_regs;
fp->tf_eflags |= PSL_IOPL;
break;
OpenPOWER on IntegriCloud