Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: net.lang.c
Subject: Re: ptrace & Re: Mark Williams csd
Message-ID: <4842@utzoo.UUCP>
Date: Sat, 29-Dec-84 19:52:08 EST
Article-I.D.: utzoo.4842
Posted: Sat Dec 29 19:52:08 1984
Date-Received: Sat, 29-Dec-84 19:52:08 EST
References: <344@rna.UUCP>, <14@axiom.UUCP>
Organization: U of Toronto Zoology
Lines: 14

Actually, V8's "/proc" seems like a much cleaner solution to the nasty
efficiency problems of ptrace, and it too is compatible.

(For those who haven't heard about /proc [where've you been?!?], the
basic notion is that there is a magic /proc directory -- actually just
a figment of the file system's imagination -- which contains "files"
each of which is the virtual memory of a currently-running process.
Subject to the usual issues of permissions etc., you can read and write
them using the ordinary system calls.  There are a few ioctls you can
use to accomplish the odder ptrace operations.  I think there may be a
paper about it in the "Unix Revisited" BLTJ.)
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry