mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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
This commit is contained in:
1 parent
f2de5a6dd7
commit
0fde36fe04
1 file changed
+1
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user