diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-09-13 20:20:05 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-09-13 20:20:05 +0000 |
commit | 854cab511e773a81ed29e1b1657b737790e38f1e (patch) | |
tree | 355870bcdf004f2215b1f6e52bad669d462902df /UPDATING | |
parent | 6e7abad2faa684a37261bd412cefefda644e386b (diff) | |
download | src-test-854cab511e773a81ed29e1b1657b737790e38f1e.tar.gz src-test-854cab511e773a81ed29e1b1657b737790e38f1e.zip |
No longer mlock() ntpd pages by default in memory thus allowing its
pages to page as necessary.
To restore historic BSD behaviour add the following to ntp.conf:
rlimit memlock 32
Discussed on: freebsd-current@ between Sept 6-9, 2019
Reported by: Users using ASLR with stack gap != 0
Reviewed by: ian, kib, rgrimes (all previous versions)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21581
Notes
Notes:
svn path=/head/; revision=352304
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING index 0391baf9b9669..28e28cd34ea57 100644 --- a/UPDATING +++ b/UPDATING @@ -26,6 +26,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20190913: + ntpd no longer by default locks its pages in memory, allowing them + to be paged out by the kernel. Use rlimit memlock to restore + historic BSD behaviour. For example, add "rlimit memlock 32" + to ntp.conf to lock up to 32 MB of ntpd address space in memory. + 20190823: Several of ping6's options have been renamed for better consistency with ping. If you use any of -ARWXaghmrtwx, you must update your |