Some of us were discussing on IRC that ntpd (and other privsep daemons)
do not maintain their arguments in setproctitle, making invocations of
e.g. ntpd -s harder to verify.
This makes ntpd log that it was started with -s.
Index: ntpd.c
===================================================================
RCS file: /var/cvsync/src/usr.sbin/ntpd/ntpd.c,v
retrieving revision 1.74
diff -u -p -r1.74 ntpd.c
--- ntpd.c 16 Oct 2013 21:23:59 -0000 1.74
+++ ntpd.c 18 Oct 2013 21:50:29 -0000
@@ -324,6 +324,7 @@ dispatch_imsg(struct ntpd_conf *lconf)
if (!lconf->settime)
break;
log_init(lconf->debug);
+ log_info("Trying to set time immediately");
memcpy(&d, imsg.data, sizeof(d));
ntpd_settime(d);
/* daemonize now */