From 7c01ec153b6edd2f90beccfcad3a4da7853e4474 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Fri, 13 Sep 2019 20:25:25 +0000 Subject: Sync with base r352304, no longer locking ntpd in memory. Users who wish to restore historic BSD behaviour can add the following to ntp.conf: rlimit memlock 32 Discussed on: freebsd-current@ between Sept 6-9, 2019 Mentioned in Differential Revision: https://reviews.freebsd.org/D21581 --- net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4 (limited to 'net/ntp-devel/files') diff --git a/net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4 b/net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4 new file mode 100644 index 000000000000..27d1711d0506 --- /dev/null +++ b/net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4 @@ -0,0 +1,11 @@ +--- sntp/m4/ntp_rlimit.m4.orig 2015-09-23 04:49:10.000000000 -0700 ++++ sntp/m4/ntp_rlimit.m4 2019-09-11 20:36:17.291424000 -0700 +@@ -112,7 +112,7 @@ + yes | no) + ans=$ntp_dflt_rlimit_memlock + ;; +- [[1-9]][[0-9]]*) ;; ++ [[1-9]][[0-9]]*|-1) ;; + *) AC_MSG_ERROR(["--with-memlock requires an integer argument."]) + ;; + esac -- cgit v1.2.3