[Bug 20098] Wine should, when possible, provide the kernel mode environment for kernel mode drivers

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 25 06:34:22 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20098





--- Comment #13 from Alexandre Julliard <julliard at winehq.org>  2009-09-25 06:34:21 ---
If you want to run your kernel driver in kernel mode you need something like
Linux unified kernel. If all you really want is to emulate RDMSR then sure, you
can do that in user mode, but you'd most likely get much better results by
forgetting about the kernel driver completely, and writing a Linux-specific
piece of code to retrieve all the system information through /sys etc. (which
you can do from inside Wine). The low-level info you get through kernel
functions in Wine will never be accurate, because we have to fake a lot of
things.

And forget about mknod, you'll only be creating security holes. If the device
doesn't exist in /dev just consider that you are not supposed to access it.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list