Module Name:    src
Committed By:   maya
Date:           Wed Apr 24 11:55:05 UTC 2019

Modified Files:
        src/external/bsd/ntp/dist/ntpd: ntp_config.c

Log Message:
Only warn about being unable to make a smaller stack if asking for debug
messages.

Between ASLR and stack clash random-sized padding, we can't make small
stacks reliably. Not doing so isn't a problem, so don't warn users about
it on every boot.

PR bin/51118


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/ntp/dist/ntpd/ntp_config.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/ntp/dist/ntpd/ntp_config.c
diff -u src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.20 src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.21
--- src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.20	Mon Dec 24 02:58:39 2018
+++ src/external/bsd/ntp/dist/ntpd/ntp_config.c	Wed Apr 24 11:55:05 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: ntp_config.c,v 1.20 2018/12/24 02:58:39 christos Exp $	*/
+/*	$NetBSD: ntp_config.c,v 1.21 2019/04/24 11:55:05 maya Exp $	*/
 
 /* ntp_config.c
  *
@@ -5252,7 +5252,7 @@ ntp_rlimit(
 			}
 			rl.rlim_cur = rl_value;
 			if (-1 == setrlimit(RLIMIT_STACK, &rl)) {
-				msyslog(LOG_ERR,
+				msyslog(LOG_DEBUG,
 					"ntp_rlimit: Cannot set RLIMIT_STACK: %m");
 			}
 		}

Reply via email to