home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
- From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
- Newsgroups: comp.unix.aix
- Subject: Re: process numbers
- Message-ID: <1h6hv0INNrsl@life.ai.mit.edu>
- Date: 22 Dec 92 08:00:32 GMT
- References: <GEUDER.92Dec21195041@priamos.informatik.uni-stuttgart.de> <BzMqs8.1Krz@austin.ibm.com>
- Organization: /etc/organization
- Lines: 19
- NNTP-Posting-Host: hal.gnu.ai.mit.edu
-
-
- 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.
-
- This is nonsense.
-
- The process number is the process table index shifted 8 bits, plus a
- number which is incremented every time a process is put in that slot.
-
- This is actually fairly useful. When I want to spy on a process with
- `crash', it's easy to calculate the index into the process table which
- I need for the `u' command.
-
- --
- \ / Charles Hannum, mycroft@ai.mit.edu
- /\ \ PGP public key available on request. MIME, AMS, NextMail accepted.
- Scheme White heterosexual atheist male (WHAM) pride!
-