home *** CD-ROM | disk | FTP | other *** search
- From: Doug Gwyn <gwyn@smoke.brl.mil>
-
- In article <692@longway.TIC.COM> peter@ficc.ferranti.com (Peter da Silva) writes:
- -> SVID 3 (System V Release 4.0), OSF AES (OSF/1), Berkeley BSD 4.4, MACH
- -> 2.5, ULTRIX, SunOS, HP/UX, etc, all include an (almost) identical
- -> definition of mmap() based on the current Sun/Berkeley specification.
- -V.3.2 does not include this interface, and V.3.2 is going to be around,
- -and in fact very common, for at least a couple of years to come. A standard
- -that locks out V.3.2 is going to hurt portability.
- -I believe that implementing shared memory in terms of memory mapped files
- -is a good thing, and that every effort should be made to encourage it...
- -within reason. Preventing the implementation of POSIX shared memory on
- -the largest installed base of UNIX systems in existence is not within
- -reason.
-
- The goal of POSIX was not to bless existing botched implementations!
- 4.3BSD also does not provide a working mmap(), and it also fails to
- comply with 1003.1 in numerous ways. This is being addressed by making
- a future release (4.4BSD) POSIX-compliant, not by making 1003.1 cater
- to existing deficiencies. Similarly for the real-time extensions.
- If 1003.1 had had to avoid making implementors improve their products,
- it would have been of even less practical use than the /usr/group 1984
- standard.
-
- - a) People with "real mmap" will end up using more than the
- - standard allows. This is a pretty simple prediction... look
- - at existing extended implementations.
- - b) People with the "fake mmap" will end up blowing the extra
- - parameters, "safely". Then when run on a system with the real
- - thing their programs will fail.
-
- c) People who are concerned with portability with not stray
- outside the domain that the standard guarantees to work.
-
- You seem to be arguing that extensions should be prohibited.
-
- Volume-Number: Volume 20, Number 6
-
-