home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13015 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.0 KB  |  48 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!codesmith.austin.ibm.com!dcm
  3. From: dcm@codesmith.austin.ibm.com (Craig Miller - dcm@austin.ibm.com)
  4. Subject: Re: process numbers
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <C0EB6D.174w@austin.ibm.com>
  7. Date: Tue, 5 Jan 1993 19:23:01 GMT
  8. References: <GEUDER.92Dec21195041@priamos.informatik.uni-stuttgart.de> <BzMqs8.1Krz@austin.ibm.com> <1h6hv0INNrsl@life.ai.mit.edu>
  9. Organization: IBM AWD, Austin
  10. Lines: 36
  11.  
  12. In article <1h6hv0INNrsl@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
  13. >
  14. >In article <BzMqs8.1Krz@austin.ibm.com> curt@ekhadafi.austin.ibm.com
  15. >(Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
  16. >>
  17. >> My understanding is that it was done for security reasons.
  18. >
  19. >This is nonsense.
  20.  
  21.     Uh, wait a minute Charles...  Many moons ago during the
  22.     early development days of AIX, there was a rumor circulating
  23.     around AIX development that generating sequential pids was
  24.     a security hole.  I think the phrase used was "covert channel".
  25.  
  26.     Perhaps that has changed since, but saying that anything
  27.     Curt says is "nonsense" is going a bit overboard, don't you
  28.     think?  He was in AIX development back then.  Were you?
  29.  
  30. >The process number is the process table index shifted 8 bits, plus a
  31. >number which is incremented every time a process is put in that slot.
  32.  
  33.     True.  But this doesn't prove that Curt's statement is wrong.
  34.     AIX still doesn't generate sequential pids.
  35.  
  36. >This is actually fairly useful.  When I want to spy on a process with
  37. >`crash', it's easy to calculate the index into the process table which
  38. >I need for the `u' command.
  39.  
  40.     I always looked at the output from the 'proc' subcommand, then
  41.     used the slot number for 'u'.....
  42.  
  43. > \  /   Charles Hannum, mycroft@ai.mit.edu
  44. -- 
  45. Craig Miller, software mechanic:  AIXV3 Change Team (Level3 support)
  46. #include <ibm/stds/disclaimer.h>
  47. char *internet = "dcm@austin.ibm.com", *vnet = "AUSVM6(TKG007)";
  48.