mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00: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:
parent
f2de5a6dd7
commit
0fde36fe04
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue