Subject: Re: mmap (was Re: bin/10625: /usr/bin/cmp)
To: None <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 07/28/2000 16:46:39
[ On , July 28, 2000 at 13:12:54 (-0700), Wolfgang Rupprecht wrote: ]
> Subject: mmap (was Re: bin/10625: /usr/bin/cmp)
> Currently mmap() doesn't know how to extend a file. So even if one
> mmaps in extra space at the end of a file, one gets a SIGBUS if one
> tries to write to it.
Perhaps mmap() shouldn't be used to write to files. Indeed this is yet
another reason why use of mmap() should normally be hidden away in a
more generic library interface where its idiosyncracies can be carefully
coded around once.
Greg A. Woods
+1 416 218-0098 VE3TCP <email@example.com> <robohack!woods>
Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>