Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2006 11:02:39 +0300
From:      Tofik Suleymanov <tofik@oxygen.az>
To:        James Riendeau <jtriende@wisc.edu>
Cc:        Tofik Suleymanov <tofik@oxygen.az>, freebsd-questions@freebsd.org
Subject:   Re: reading process memory
Message-ID:  <4487D99F.103@oxygen.az>
In-Reply-To: <79C8EF08-A97C-4061-927C-1506DFA6FA6A@wisc.edu>
References:  <4486A111.6020300@oxygen.az>	<ED5EC8BD-0A92-4D73-BC01-48FD930311FF@wisc.edu>	<4486EFC8.6080601@oxygen.az>	<4549C3E0-B98D-4648-9C7E-C3E8823D8B94@wisc.edu> <79C8EF08-A97C-4061-927C-1506DFA6FA6A@wisc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
James Riendeau wrote:
> I'm going to anticipate your next question, and say that if you're not 
> the parent, you will have to "attach" to the process.  How that's 
> done?  I don't know, probably through a system call to ptrace or 
> writing to the procfs ctl directory.  I'm speaking through erudite 
> knowledge rather than any real experience working with procfs.
>
> -james
>
>
>
Continue reading this thread and you will see, that you are right. In 
order to read/write process memory we need to use either ptrace(2) 
system call or  procfs.

Thanks for all useful thoughts!

Sincerely,
Tofik Suleymanov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4487D99F.103>