home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8378 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: a patch for free in the ps-0.97 package
  5. Message-ID: <1992Aug16.114537.9026@klaava.Helsinki.FI>
  6. Date: 16 Aug 92 11:45:37 GMT
  7. References: <SHARMAN.92Aug16012235@sharman.Software.Mitel.COM>
  8. Organization: University of Helsinki
  9. Lines: 14
  10.  
  11. Just in case anybody wonders: yes, the next patch will again break all
  12. programs (well, most of them) that read kernel memory directly.  In
  13. fact, some things, notably the command line snooping that 'ps' does and
  14. the page-counting ("ps m") will break totally: they have to be
  15. rewritten, and will need kernel support.  The reason is that /dev/mem is
  16. no longer able to read the data in other processes: the memory
  17. management has changed to use different page tables for each process. 
  18.  
  19. I either have to implement some kind of /proc filesystem or support
  20. some "get_ps_info()" system call - the get_ps_info() way is easier, but
  21. a /proc fs might be a good idea and is more general. It will have to
  22. wait for 0.98 or so, though: 0.97.pl2 won't have a good ps interface.
  23.  
  24.         Linus
  25.