home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25464 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.9 KB  |  45 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!torn!utzoo!helios.physics.utoronto.ca!grindley
  3. From: grindley@helios.physics.utoronto.ca (Robin Grindley)
  4. Subject: Re: ?? Why no out/in in assembler ??
  5. Message-ID: <C1Fno4.IBI@helios.physics.utoronto.ca>
  6. Sender: news@helios.physics.utoronto.ca (News Administrator)
  7. Organization: University of Toronto Physics/Astronomy/CITA
  8. References: <C1DpM9.H6L@helios.physics.utoronto.ca> <C1E98M.4JE@ichaos.nullnet.fi>
  9. Date: Mon, 25 Jan 1993 23:24:03 GMT
  10. Lines: 33
  11.  
  12. In article <C1E98M.4JE@ichaos.nullnet.fi> jlaiho@ichaos.nullnet.fi (Juha Laiho) writes:
  13.  
  14. >Here we go again. Linux is designed to be multi-user multi-processing
  15. >environment. In such environment there is no reason to let anyone do direct
  16. >port-I/O. Just think. There's unixes with shell access, and a C Compiler
  17.  
  18.  
  19. Sorry, i should have been a little clearer. I realize that user tasks will
  20. run at different privileges and IOPL's. Any normal code should not be allowed
  21. to do what i want. But if one wants to debug a system one has to have access
  22. to tools that can bypass normal security. My question is, IF i do setup
  23. a task to run as root and i make sure i have the correct IOPL, the assembler
  24. does not even have the capability to generate these instructions (they are
  25. not in its "dictionary"). 
  26.  
  27.  I cannot test my mouse using the kernel, because that forces me to use the
  28. existing serial drivers, and i have already tried all the combinations using
  29. standard ioctl, it does not work. I have to try and duplicate what my mouse
  30. driver is doing in DOS and the only way i can guarantee this is by direct
  31. access.
  32.  
  33. I am NOT saying that this should be easy to do, just that it should be 
  34. possible for those pathological enough to want to bother. (Let's face it,
  35. Josephine user is not too likely to bother using inline assembly code!)
  36.  
  37. And what about this undocumented -O6 flag in gcc?
  38.  
  39.  
  40. -- 
  41. robin
  42.  
  43.          iNSANITY - It's only a state of mind
  44.  
  45.