home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: rudy@chukran.austin.ibm.com ()
- Subject: Re: process numbers
- Sender: news@austin.ibm.com (News id)
- Message-ID: <BzoqGq.1xGD@austin.ibm.com>
- Date: Tue, 22 Dec 1992 23:55:38 GMT
- Reply-To: chukran@austin.vnet.ibm.com(Rudy Chukran)
- References: <GEUDER.92Dec21195041@priamos.informatik.uni-stuttgart.de> <BzMqs8.1Krz@austin.ibm.com>
- Organization: IBM Advanced Workstation Division
- Lines: 27
-
- 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:
- |> My understanding is that it was done for security reasons. Any casual
- |> user can figure out if system activity is high by forking a process and
- |> looking at the current pid of that process, even if they don't have
- |> permissions to execute 'ps.'
- |>
- |> On some super secret military machine this would allow Joe-user to
- |> figure out when all the missiles were being launched, (since that
- |> no doubt requires forking lots of processes.)
- Have a look at /usr/include/sys/proc.h and PROCMASK. The pid has the
- proc table index in it to accomplish direct lookup rather than
- a linear search to match a pid. The generation count is to fake a
- longer cycle time before a duplicate PID turns up.
-
- Now that the Russians are no longer bad guys, I feel it proper to
- let this secret out. If you hear about any missles getting shot
- down, please dont tell'em who told you. :-)
-
- And PLEASE dont tell 'em about the fork rate in sar :-)
- --
- *********************************************************************
- Rudy Chukran | EMAIL:
- IBM AIX Technical Consulting| RSCS: CHUKRAN at AUSTIN
- 11400 Burnet Rd. | AWDnet:rudy@chukran.austin.ibm.com
- Internal ZIP 2830 | internet: chukran@austin.vnet.ibm.com
- Austin, Texas 78758 |
- *********************************************************************
-