From: Harlan Stenn Date: Tue, 24 Sep 2013 08:30:55 +0000 (-0400) Subject: #ifdef PRIV_AWARE_RESET for older Solaris for now... X-Git-Tag: NTP_4_2_7P389~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e48b80f47f05b885d12908427d6daf7beae3dce;p=thirdparty%2Fntp.git #ifdef PRIV_AWARE_RESET for older Solaris for now... bk: 52414dbfwopZNm0Vc_jmJgYoWZCDVQ --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 8e36a2685..7207653f2 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -831,7 +831,9 @@ ntpdmain( exit(-1); } # elif HAVE_SOLARIS_PRIVS +# ifdef PRIV_AWARE_RESET (void) setpflags(PRIV_AWARE_RESET, 1); +# endif # else /* we need a user to switch to */ if (user == NULL) {