Page MenuHomeFreeBSD

tcpdump: Initialize tzcode early.
ClosedPublic

Authored by des on Sep 15 2023, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 27 2025, 8:14 AM
Unknown Object (File)
Nov 25 2025, 9:42 PM
Unknown Object (File)
Nov 17 2025, 3:16 PM
Unknown Object (File)
Nov 17 2025, 3:37 AM
Unknown Object (File)
Nov 14 2025, 1:58 AM
Unknown Object (File)
Nov 11 2025, 3:17 AM
Unknown Object (File)
Nov 10 2025, 4:25 AM
Unknown Object (File)
Nov 8 2025, 10:20 AM
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