Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 08:20:08 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mmap() vs. character special file
Message-ID:  <20060624222008.GD747@turion.vk2pj.dyndns.org>
In-Reply-To: <20060624010644.Y82000@atlantis.atlantis.dp.ua>
References:  <20060624010644.Y82000@atlantis.atlantis.dp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--UFHRwCdBEJvubb2X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, 2006-Jun-24 01:27:05 +0300, Dmitry Pryanishnikov wrote:
>So it looks like one should be able to mmap() a character special file (w/=
o=20
>MAP_ANON, of course). However, if I try to issue:

If you have the kernel source handy, you can check which devices
support mmap() by looking for a 'd_mmap' entry in their struct cdevsw.

--=20
Peter Jeremy

--UFHRwCdBEJvubb2X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEnbqX/opHv/APuIcRAjR6AKC12cNcPDKpzNMZwVFvWyEEgznpNwCgt6hv
11oibmpj9X9vGGkx+7/klXY=
=h3O9
-----END PGP SIGNATURE-----

--UFHRwCdBEJvubb2X--



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