Actions
Bug #6607
closedadd default MAP_FILE symbol to sys/mman.h
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-02-06
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Many programs, such as webkit, specify 'MAP_FILE | MAP_SHARED' as flags to the call to mmap.
Apparently many platforms, *BSD and Linux, define it as follows in mman.h:
#define MAP_FILE 0x0000 /* map from file (default) */
As it is the default, it should be just fine to define as such on SunOS thus avoiding the necessity
to add -DMAP_FILE=0 to CPPFLAGS.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit ccd5347f5bded380cdbfc73f87db15cfd5610961
commit ccd5347f5bded380cdbfc73f87db15cfd5610961 Author: James Blachly <james.blachly@gmail.com> Date: 2016-09-06T14:04:31.000Z 6607 add default MAP_FILE symbol to sys/mman.h Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions