[net.bugs.uucp] Read permission on /etc/phones, really kill

lmcl@ukc.UUCP (L.M.McLoughlin) (07/07/85)

On which versions of Unix will kill(pid,0) return a status indicating wether
the process (pid) is still running?

It doesn't on the V7 and BSD 4.1 locally.  It appears to on BSD 4.2.
What about USG unixes, Xenix and XELOS?

honey@down.FUN (Peter Honeyman) (07/09/85)

4.2bsd, 8th ed., and system v.  i hacked it into 4.1 at one point.
	peter

guy@sun.uucp (Guy Harris) (07/10/85)

> On which versions of Unix will kill(pid,0) return a status indicating wether
> the process (pid) is still running?
> 
> It doesn't on the V7 and BSD 4.1 locally.  It appears to on BSD 4.2.
> What about USG unixes, Xenix and XELOS?

"kill" with signal 0 also returns a status on System V; I believe it did so
in System III also.  As such, it also works on XELOS (which is a System V
Release 2 port) and probably does so on Xenix 3.0 (which is based on System
III).  The same argument can be applied to any other UNIX-based system out
there based on 4.2BSD, System III, or System V; there's no need to ask
separately about those systems - asking about the version they're based on
is sufficient.

	Guy Harris