No need to call tzset() and log_init() in the forked constraint
authorreyk <reyk@openbsd.org>
Thu, 21 May 2015 14:24:43 +0000 (14:24 +0000)
committerreyk <reyk@openbsd.org>
Thu, 21 May 2015 14:24:43 +0000 (14:24 +0000)
commit4ab0fb89a7cfc56d905e2b90e7f1aeee81aaefbf
treebe8148f362f8b7d1783a6d78a6604b230badcd1f
parent3a6fd01ee3ee62867b0d5f624b6cf850c1c4d3de
No need to call tzset() and log_init() in the forked constraint
handler.  It is run in a chroot, so tzset() wouldn't even succeed to
open the zone file.  Found with tame.

OK deraadt@
usr.sbin/ntpd/constraint.c