Linux mmap implementation.

Wingerde van GR (gertjan@cs.vu.nl)
Mon, 26 Feb 1996 14:52:27 +0100 (MET)


Hi,

In a linux-patch distributed with the original db-lib package there is a
comment which says the following:

+ * The Linux kernel mmap() semantics are broken :
+ *
+ * Under Linux, read only private mappings cause write only and read/write
+ * opens to fail with errno=ETXTBSY. Shared read only mappings should work
+ * fine though, but I'm not familiar enough with the code to ascertain that
+ * a MAP_SHARED mapping would be safe so I use the non-mmap'd version
+ * instead.
+ *
+ */

Anybody knows whether this is still true??

I want to release a new linux version of this lib in a short while and want
to fix this.

Gertjan

-- 

Gertjan van Wingerde home address: Student Computer Science Vrije Universiteit J.H. Dunantstraat 44 Amsterdam 1561 BD Krommenie The Netherlands

e-mail: gertjan@cs.vu.nl URL: http://www.cs.vu.nl/~gertjan/