Date: Fri, 28 Aug 2009 18:20:19 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Steve Bertrand <steve@ibctech.ca> Cc: "freebsd-questions@freebsd.org Questions -" <freebsd-questions@freebsd.org> Subject: Re: Reading raw memory Message-ID: <20090828162019.GA97064@slackbox.xs4all.nl> In-Reply-To: <4A97D0EE.4070304@ibctech.ca> References: <4A97D0EE.4070304@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 28, 2009 at 08:43:26AM -0400, Steve Bertrand wrote: > Hi all, >=20 > 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 --=20 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) --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqYA8MACgkQEnfvsMMhpyX2pwCfZRdr9rRCzcZfBNt042rvrfEz H+IAoK5brS/a/Cv2M9kWOXff7Lunsduv =sR3j -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090828162019.GA97064>