Subject: Re: mmap (was Re: bin/10625: /usr/bin/cmp)
To: None <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
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 <firstname.lastname@example.org> <robohack!woods>
Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>