Cache tzdata when running under capsicum
PR: 217957 Reported by: tobik@
This commit is contained in:
parent
7404367b95
commit
5bbffb0049
@ -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…
x
Reference in New Issue
Block a user