Welcome | spec | C-PLOT | Support | Users | Contact
 
Contents -> ADMINISTRATOR'S GUIDE -> Installed Files -> Enabling I/O Ports On PC Platforms Running linux
spec Manual


5.5.4. - Enabling I/O Ports On PC Platforms Running linux



On PC systems running linux, I/O port access is achieved by changing the process's I/O privilege level using the system call iopl(). For this method to work, the spec executable must be set-user-id root. Note, though, that the root privilege is only enabled for the duration of the system call. The rest of the time, the process only has the access privileges of the real user. (Prior to spec release 4.03.01, I/O port access on linux required a kernel patch.)


  Top
  Prev | Next