git: 05459c1b860c - stable/14 - pom: Cache tzdata before entering capability mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Aug 2025 15:06:14 UTC
The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=05459c1b860c086ada0cacb398fa5d61a240e0ca commit 05459c1b860c086ada0cacb398fa5d61a240e0ca Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2025-07-25 12:13:39 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2025-08-29 15:05:53 +0000 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 (cherry picked from commit 0fde36fe04b2b656a2215f7dad07a52884e8dcfd) --- 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 01370114f36e..4c648c359ef9 100644 --- a/usr.bin/pom/pom.c +++ b/usr.bin/pom/pom.c @@ -95,6 +95,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");