[PATCH] mlockall: Document MCL_ONFAULT flag

Joseph Myers joseph@codesourcery.com
Mon Nov 27 16:24:00 GMT 2017


On Mon, 27 Nov 2017, Florian Weimer wrote:

> > >     @item MCL_CURRENT
> > > +@standards{POSIX.1b, sys/mman.h}
> > >   Lock all pages which currently exist in the calling process' virtual
> > >   address space.
> > >     @item MCL_FUTURE
> > > +@standards{POSIX.1b, sys/mman.h}
> > 
> > Thanks for completing those (though I haven't confirmed the standard).
> 
> Neither have I.  I assumed they were defined along with mlockall.  These
> constants are in current POSIX.

POSIX.1b (1993) is correct for these constants.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list