Subject: Re: sendfile()
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 02/27/2005 03:40:32
--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Thor Lancelot Simon wrote:
> You will not get SIGSEGV or SIGBUS from a write() of pages from a valid
> mmap() mapping under NetBSD. (If you do, please file a PR immediately).
Ah, I see. write() returns EINVAL if I truncate the mmap()ed file. I
assume it's not portable to rely on that. I would have expected EFAULT
instead, though.
--=20
Christian
--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFCITMf0KQix3oyIMcRAm/BAJ9wxIjuBuUiOGyzOiDUhvDlisRQ4gCgqcnu
JGeCoBReo3yK3y7uu8SnJX8=
=/L+r
-----END PGP SIGNATURE-----
--AqsLC8rIMeq19msA--