From owner-freebsd-questions@FreeBSD.ORG Fri Aug 28 16:20:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004851065673 for ; Fri, 28 Aug 2009 16:20:28 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8AED88FC15 for ; Fri, 28 Aug 2009 16:20:26 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7SGKJPJ011815; Fri, 28 Aug 2009 18:20:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 572CFBAA6; Fri, 28 Aug 2009 18:20:19 +0200 (CEST) Date: Fri, 28 Aug 2009 18:20:19 +0200 From: Roland Smith To: Steve Bertrand Message-ID: <20090828162019.GA97064@slackbox.xs4all.nl> References: <4A97D0EE.4070304@ibctech.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <4A97D0EE.4070304@ibctech.ca> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: Reading raw memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 16:20:29 -0000 --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--