[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-42-ga4a331
From: |
Mats Erik Andersson |
Subject: |
[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-42-ga4a331b |
Date: |
Mon, 12 Nov 2018 10:39:09 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".
The branch, master has been updated
via a4a331b7eea141b13c04f79feff3fe7d8f4e0507 (commit)
from 80e18f8aea59fd15a91b72bfdf974929e0895eb8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=a4a331b7eea141b13c04f79feff3fe7d8f4e0507
commit a4a331b7eea141b13c04f79feff3fe7d8f4e0507
Author: Mats Erik Andersson <address@hidden>
Date: Mon Nov 12 16:36:29 2018 +0100
tftpd: Restore logging while chrooted.
diff --git a/ChangeLog b/ChangeLog
index 880c54d..ec0224d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-12 Mats Erik Andersson <address@hidden>
+
+ * src/tftpd.c (main): Add LOG_NDELAY to openlog(). The file
+ descriptor for logging must be active before chrooting happens.
+
2018-11-09 Mats Erik Andersson <address@hidden>
* bootstrap: Updated from gnulib.
diff --git a/src/tftpd.c b/src/tftpd.c
index 0f2e958..2f53ae8 100644
--- a/src/tftpd.c
+++ b/src/tftpd.c
@@ -221,7 +221,7 @@ main (int argc, char *argv[])
iu_argp_init ("tftpd", default_program_authors);
argp_parse (&argp, argc, argv, 0, &index, NULL);
- openlog ("tftpd", LOG_PID, LOG_FTP);
+ openlog ("tftpd", LOG_NDELAY | LOG_PID, LOG_FTP);
if (index < argc)
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
src/tftpd.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
GNU Inetutils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-42-ga4a331b,
Mats Erik Andersson <=