1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/ntp-devel/files/patch-sntp_m4_ntp__rlimit.m4
Cy Schubert 7c01ec153b 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
2019-09-13 20:25:25 +00:00

12 lines
333 B
Plaintext

--- 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