]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Follow up on r352304 which disabled default mlockall() at startup.
authorcy <cy@FreeBSD.org>
Thu, 19 Sep 2019 20:16:51 +0000 (20:16 +0000)
committercy <cy@FreeBSD.org>
Thu, 19 Sep 2019 20:16:51 +0000 (20:16 +0000)
commitadb65d7416b2336cc7582929929314abf6c4495a
tree35b25f446c6173acd6045c010b1b0a5313854fe1
parent7f83844617b3cab207e814b3f1351db83ca2be29
Follow up on r352304 which disabled default mlockall() at startup.
Unfortunately though the original tarball supports this in ./configure
(for Linux), to fully support disabling of mlockall() by default requires
a little extra help otherwise the following is logged in syslog:

Cannot set RLIMIT_MEMLOCK: Operation not permitted

MFC after: 2 weeks
X-MFC with: r352304
contrib/ntp/ntpd/ntpd.c