home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ulowell!m2c!bu.edu!rpi!utcsri!sys.toronto.edu!jwang
- From: jwang@sys.toronto.edu (Jingwen Wang)
- Newsgroups: comp.sys.hp
- Subject: SIGTSTP got translated into SIGHUP?
- Message-ID: <1993Jan26.144705.20672@jarvis.csri.toronto.edu>
- Date: 26 Jan 93 19:47:05 GMT
- Organization: CSRI, University of Toronto
- Lines: 42
-
-
- We are using a remote execution server (quite similar to the rlogind)
- to start remote processes. The strange thing is that if I send a SIGTSTP
- signal to this remotely started process, it is not stopped, while the same
- program running on local host is stopped properly.
-
- Looking into the man pages on hpux, I found the following:
- When a process that is in an orphaned process group (see glossary(9))
- receives a SIGTSTP, SIGTTIN, or SIGTTOU signal, the process is not stooped
- because a process in an orphaned process group is not allowed to stop.
- Instead, a SIGHUP signal is sent to the process, and the SIGTSTP, SIGTTIN,
- or SIGTTOU is discarded.
-
- My question is:
-
- 1. Where is the above mentioned glossary(9)? I could not find it on
- several HP machines running hpux8.07 and hpux8.05.
-
- 2. Why should the kernel enforce the signal action? All other unix
- systems do not have this smart. I should be able to send any
- signals to my process; whether the process should stop or not is
- is totally user's bussness.
-
- 3. What is the precise definition of an orphaned process group?
-
-
- Any help is greatly appreciated.
-
- jwang
-
- --
- {}
- {}(){} -----> Jingwen Wang, Univ. of Toronto (416)-978-1675 (office)
- {} jwang@sys.toronto.edu 1-800-ASK-wang (home)
- I don't know why this message in .signature file is sent twice on our
- utrix. Needs help.
- --
- {}
- {}(){} -----> Jingwen Wang, Univ. of Toronto (416)-978-1675 (office)
- {} jwang@sys.toronto.edu 1-800-ASK-wang (home)
- I don't know why this message in .signature file is sent twice on our
- utrix. Needs help.
-