Page MenuHomeFreeBSD

tcpdump: Initialize tzcode early.
ClosedPublic

Authored by des on Sep 15 2023, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 2:42 AM
Unknown Object (File)
Sat, May 16, 2:41 AM
Unknown Object (File)
Sat, May 16, 2:41 AM
Unknown Object (File)
Sat, May 16, 2:41 AM
Unknown Object (File)
Apr 21 2026, 12:40 AM
Unknown Object (File)
Apr 18 2026, 12:41 PM
Unknown Object (File)
Apr 12 2026, 7:33 AM
Unknown Object (File)
Apr 11 2026, 6:49 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable