HomeFreeBSD

tcpdump: Initialize tzcode early.

Description

tcpdump: Initialize tzcode early.

An explicit tzset() call is usually not needed as it happens implicitly
the first time we call localtime() or mktime(), but in some cases
(sandboxing, chroot) this may be too late.

PR: 273807
MFC after: 3 days
Reviewed by: jrm
Differential Revision: https://reviews.freebsd.org/D41880

Details

Provenance
desAuthored on Sep 15 2023, 9:36 PM
Reviewer
jrm
Differential Revision
D41880: tcpdump: Initialize tzcode early.
Parents
rG72d97e1dd9cc: rtld: output rtld errors into the dbg channel
Branches
Unknown
Tags
Unknown