Date: Mon, 25 Aug 97 13:20:21 +0500 From: "Igor" <igor@blik.samara.su> To: hackers@freebsd.org Subject: question about procfs Message-ID: <AA51K0q4UA@blik.samara.su>
next in thread | raw e-mail | index | archive | help
I attampt read file /proc/pid/mem
lseek(fd, offset, SEEK_SET);
read(fd, buf, 10);
and at some volues of variable offset I receive error: Operation not permitted
Why ?
File /proc/pid/mem contains virtual addres space of process.
How I can be informed what addres text and data segments ?
How I get information from file /proc/pid/map (where read) ?
man procfs - I allready use (small info)
---
igor@blik.samara.su (Igor)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA51K0q4UA>
