Mmap::Flags
Inherits Enum / Comparable / Value / Object
Constants
Fixed = 16
Huge = 262144
= LibC::MAP_32BIT = LibC::MAP_FIXED_NO_REPLACE(Linux) vs EXCL(BSD) Linux only. Only works with anonymous memory. Would be nice if the man page mentioned that
Huge_2mb = 1409548288
Huge_1gb = 2013528064
CryptoKey = 16
Stack = LibC::MAP_STACK # Linux: flag exists but not implemented Sync = LibC::MAP_SYNC # Linux only NoSync = LibC::MAP_NOSYNC # BSD only NoCore = LibC::MAP_NOCORE # BSD only Populate = LibC::MAP_POPULATE # Linux only Nonblock = LibC::MAP_NONBLOCK # Linux only (requires POPULATE) - currently turns POPULATE in to noop Possibly same as Linux POPULATE & NONBLOCK but functional PreFaultRead = LibC::MAP_PREFAULT_READ # BSD only CryptoKey = LibC::MAP_DONTDUMP | LibC::MAP_DONTFORK # Fails on Linux
GuardPage = 16
None = 0
All = 2080636944
Instance methods
none?
Source