summaryrefslogtreecommitdiff
path: root/net/ntp-devel/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2019-09-13 20:25:25 +0000
committerCy Schubert <cy@FreeBSD.org>2019-09-13 20:25:25 +0000
commit7c01ec153b6edd2f90beccfcad3a4da7853e4474 (patch)
treef60f40ad8ae92b074accf08df81797cb17d7b61b /net/ntp-devel/files
parent- mark deprecated (diff)
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
Notes
Notes: svn path=/head/; revision=511987
Diffstat (limited to 'net/ntp-devel/files')
-rw-r--r--net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m411
1 files changed, 11 insertions, 0 deletions
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