Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/ntpd Only warn about being unable to m...
details: https://anonhg.NetBSD.org/src/rev/17bcd9434236
branches: trunk
changeset: 450742:17bcd9434236
user: maya <maya%NetBSD.org@localhost>
date: Wed Apr 24 11:55:05 2019 +0000
description:
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
diffstat:
external/bsd/ntp/dist/ntpd/ntp_config.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 52872dad3b3f -r 17bcd9434236 external/bsd/ntp/dist/ntpd/ntp_config.c
--- a/external/bsd/ntp/dist/ntpd/ntp_config.c Wed Apr 24 11:43:19 2019 +0000
+++ b/external/bsd/ntp/dist/ntpd/ntp_config.c Wed Apr 24 11:55:05 2019 +0000
@@ -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 @@
}
rl.rlim_cur = rl_value;
if (-1 == setrlimit(RLIMIT_STACK, &rl)) {
- msyslog(LOG_ERR,
+ msyslog(LOG_DEBUG,
"ntp_rlimit: Cannot set RLIMIT_STACK: %m");
}
}
Home |
Main Index |
Thread Index |
Old Index