Matthew Selsky Matthew.Selsky at
Wed Sep 18 03:24:43 UTC 2019

On Sun, Sep 15, 2019 at 06:18:47PM -0700, Hal Murray via devel wrote:
> There are various #ifdefs testing RLIMIT_MEMLOCK and friends
> The Linux man page for setrlimit says:
>        getrlimit(), setrlimit(): POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
> So I think we can assume it exists and remove the #ifdefs.
> Any reason not to?

getrlimit()/setrlimit() are part of POSIX, but RLIMIT_MEMLOCK is not.  This symbol is Linux/BSD-specific.

Can you partially revert and


More information about the devel mailing list