ptrace child after fork?

geoff at ISM780B.UUCP geoff at ISM780B.UUCP
Thu Nov 28 03:23:00 AEST 1985


> My copy of the SVID does not say that the trace bit is
> inherited across a fork.  The reported behavior is
> wrong, or at least a change in traditional UNIX ptrace
> semantics.

My SVID describes this in appendix 3.0 (K_EXT), under "Effect on BASE ..."
I can't say I think it's a good idea, but that IS what the SVID says (sigh).

> Ptrace is all wrong anyhow and should be replaced
> with the 8th Edition UNIX mechanisms (/dev/proc etc.).

Won't argue with that, 'tho I'm not familiar with it.



More information about the Comp.unix.wizards mailing list