mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Cache tzdata when running under capsicum
PR: 217957 Reported by: tobik@
This commit is contained in:
parent
7404367b95
commit
5bbffb0049
1 changed files with 1 additions and 0 deletions
|
|
@ -440,6 +440,7 @@ diffreg(char *file1, char *file2, int flags, int capsicum)
|
|||
err(2, "unable to limit stdio");
|
||||
|
||||
caph_cache_catpages();
|
||||
caph_cache_tzdata();
|
||||
if (cap_enter() < 0 && errno != ENOSYS)
|
||||
err(2, "unable to enter capability mode");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue