Re: direct i/o using wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Running wine as root is highly not recommended some bad things have happened in the past.

Linux kernel is controlling hardware access alessandro_maffei.  All hardware access operations would have to be done Linux way or at a speed cost.  Like qemu or v86 emulation were the address you were using are virtual.

The kind of operation you are asking for is not simple to be made work.    http://tldp.org/HOWTO/IO-Port-Programming-2.html#ss2.2  Note the warning there about using device port system can be completely exploited by any program giving that ablity.   This also applies to Windows raw IO support.  Due to using raw hardware access any program doing that can in theory take out the OS.

You really need to seriously consider splitting your program in two.  Service or a Driver as root and interface as usermode.

Things are forbin from normal users for very good reasons under Linux.  You have to consider the security side of what you are doing alessandro_maffei.  No point having you program working on Windows and Linux if it equals running insecure.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux