diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2000-09-19 03:27:31 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2000-09-19 03:27:31 +0000 |
| commit | 8343765bcb587c6658d407985066793997099b4e (patch) | |
| tree | 281574483b70f44f0ef1ccd4bf3093cba8e74d18 | |
| parent | 2b9cf2f70980eda4e2b05136e3cc11ac01d29a92 (diff) | |
Notes
| -rw-r--r-- | sys/i386/i386/vm86.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/vm86.c b/sys/i386/i386/vm86.c index 93dc6973b081..a4547c81051c 100644 --- a/sys/i386/i386/vm86.c +++ b/sys/i386/i386/vm86.c @@ -701,10 +701,11 @@ vm86_sysarch(p, args) } break; -#if 0 case VM86_INTCALL: { struct vm86_intcall_args sa; + if (error = suser(p)) + return (error); if (error = copyin(ua.sub_args, &sa, sizeof(sa))) return (error); if (error = vm86_intcall(sa.intnum, &sa.vmf)) @@ -712,7 +713,6 @@ vm86_sysarch(p, args) error = copyout(&sa, ua.sub_args, sizeof(sa)); } break; -#endif default: error = EINVAL; |
