From: Harlan Stenn Date: Wed, 13 Jun 2018 04:41:27 +0000 (+0000) Subject: ntpd/ntpd.c: DROPROOT cleanup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab635f1f23844ad96b627d92c6bdc24391fdea0b;p=thirdparty%2Fntp.git ntpd/ntpd.c: DROPROOT cleanup bk: 5b20a077o3dYXNJsGwKx9Nbm4b1ojw --- diff --git a/ChangeLog b/ChangeLog index ed9092988..df0c65ff6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,6 +36,7 @@ * [Bug 2821] minor build issues - applied patches by Christos Zoulas, including real bug fixes * html/authopt.html: cleanup, from +* ntpd/ntpd.c: DROPROOT cleanup. --- (4.2.8p11) 2018/02/27 Released by Harlan Stenn diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 242d9f19e..645099f05 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -611,6 +611,7 @@ detach_from_terminal( return; } +#ifdef HAVE_DROPROOT /* * Map user name/number to user ID */ @@ -732,6 +733,7 @@ set_user_group_ids( return 1; } +#endif /* HAVE_DROPROOT */ #endif /* !SIM */ /*