Reading raw memory
Roland Smith
rsmith at xs4all.nl
Fri Aug 28 16:20:29 UTC 2009
On Fri, Aug 28, 2009 at 08:43:26AM -0400, Steve Bertrand wrote:
> Hi all,
>
> I'm wondering if FreeBSD allows direct access to memory.
Yes, via /dev/(k)mem. Byte offsets in /dev/mem are interpreted as physical
memory adresses. See mem(4). Mind you that only root has access to this
device be default. Giving others even read access is a security problem.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090828/70ab1756/attachment.pgp
More information about the freebsd-questions
mailing list