The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0fde36fe04b2b656a2215f7dad07a52884e8dcfd

commit 0fde36fe04b2b656a2215f7dad07a52884e8dcfd
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2025-07-25 12:13:39 +0000
Commit:     Ed Maste <ema...@freebsd.org>
CommitDate: 2025-07-27 16:00: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
---
 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 db0033373b47..bcfbcadc8238 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");
 

Reply via email to