From 0fde36fe04b2b656a2215f7dad07a52884e8dcfd Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 25 Jul 2025 08:13:39 -0400 Subject: [PATCH] pom: Cache tzdata before entering capability mode Pom uses localtime() so needs tzdata available. PR: 278574 Reported by: Tatsuki Makino Reviewed by: ivy Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51521 --- usr.bin/pom/pom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/pom/pom.c b/usr.bin/pom/pom.c index db0033373b4..bcfbcadc823 100644 --- a/usr.bin/pom/pom.c +++ b/usr.bin/pom/pom.c @@ -83,6 +83,7 @@ main(int argc, char **argv) err(1, "unable to limit capabitilities for stdio"); caph_cache_catpages(); + caph_cache_tzdata(); if (caph_enter() < 0) err(1, "unable to enter capability mode");