Page MenuHomeFreeBSD

tcpdump: Initialize tzcode early.
ClosedPublic

Authored by des on Sep 15 2023, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 18, 4:23 PM
Unknown Object (File)
Thu, Feb 27, 4:03 AM
Unknown Object (File)
Feb 10 2025, 8:09 AM
Unknown Object (File)
Feb 10 2025, 8:05 AM
Unknown Object (File)
Feb 5 2025, 6:07 AM
Unknown Object (File)
Feb 5 2025, 3:15 AM
Unknown Object (File)
Jan 28 2025, 11:36 PM
Unknown Object (File)
Jan 27 2025, 1:05 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