Subject: Re: sendfile()
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 07/08/2003 12:56:59
--=.Hj6dsoW4n3m:Kf
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Thor Lancelot Simon <tls@rek.tjls.com> 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).

Consider a badly burned cd-rom. Open a file, mmap() and read it
until the console reports I/O errors. I cannot really imagine
how to get around such an situation with mmap() without emitting
a signal. 

-- 
Christian

--=.Hj6dsoW4n3m:Kf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE/CqOD0KQix3oyIMcRAnoBAJ46dLD8MqVde4a7dyYiKmKEVeJPfQCfR5Ke
kODL1aLSCgRVSkXf5G5aTck=
=BpSz
-----END PGP SIGNATURE-----

--=.Hj6dsoW4n3m:Kf--