]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
#ifdef PRIV_AWARE_RESET for older Solaris for now...
authorHarlan Stenn <stenn@ntp.org>
Tue, 24 Sep 2013 08:30:55 +0000 (04:30 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 24 Sep 2013 08:30:55 +0000 (04:30 -0400)
bk: 52414dbfwopZNm0Vc_jmJgYoWZCDVQ

ntpd/ntpd.c

index 8e36a2685945589d76761dd15e64598d61b4edbb..7207653f240ec06621bdb8f65592e844157e2a64 100644 (file)
@@ -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) {