home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12797 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.0 KB  |  40 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!chukran.austin.ibm.com!rudy
  3. From: rudy@chukran.austin.ibm.com ()
  4. Subject: Re: process numbers
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <BzoqGq.1xGD@austin.ibm.com>
  7. Date: Tue, 22 Dec 1992 23:55:38 GMT
  8. Reply-To: chukran@austin.vnet.ibm.com(Rudy Chukran)
  9. References: <GEUDER.92Dec21195041@priamos.informatik.uni-stuttgart.de> <BzMqs8.1Krz@austin.ibm.com>
  10. Organization: IBM Advanced Workstation Division
  11. Lines: 27
  12.  
  13. In article <BzMqs8.1Krz@austin.ibm.com>, curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
  14. |> My understanding is that it was done for security reasons.  Any casual
  15. |> user can figure out if system activity is high by forking a process and
  16. |> looking at the current pid of that process, even if they don't have
  17. |> permissions to execute 'ps.'
  18. |> 
  19. |> On some super secret military machine this would allow Joe-user to
  20. |> figure out when all the missiles were being launched, (since that
  21. |> no doubt requires forking lots of processes.)
  22. Have a look at /usr/include/sys/proc.h and PROCMASK.  The pid has the
  23. proc table index in it to accomplish direct lookup rather than
  24. a linear search to match a pid. The generation count is to fake a
  25. longer cycle time before a duplicate PID turns up.
  26.  
  27. Now that the Russians are no longer bad guys, I feel it proper to
  28. let this secret out. If you hear about any missles getting shot
  29. down, please dont tell'em who told you.  :-)
  30.  
  31. And PLEASE dont tell 'em about the fork rate in sar :-)
  32. -- 
  33. *********************************************************************
  34. Rudy Chukran                |       EMAIL:            
  35. IBM AIX Technical Consulting| RSCS: CHUKRAN at AUSTIN 
  36. 11400 Burnet Rd.            | AWDnet:rudy@chukran.austin.ibm.com    
  37. Internal ZIP 2830           | internet: chukran@austin.vnet.ibm.com
  38. Austin, Texas 78758         |
  39. *********************************************************************
  40.