Cache NLS data for strerror(3).
This commit is contained in:
parent
4cd385d9e9
commit
4529332709
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314949
@ -238,6 +238,7 @@ static const char rcsid[] =
|
||||
#endif /* IPSEC */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <capsicum_helpers.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
@ -1014,6 +1015,8 @@ main(int argc, char **argv)
|
||||
cansandbox = false;
|
||||
#endif
|
||||
|
||||
caph_cache_catpages();
|
||||
|
||||
/*
|
||||
* Here we enter capability mode. Further down access to global
|
||||
* namespaces (e.g filesystem) is restricted (see capsicum(4)).
|
||||
|
Loading…
Reference in New Issue
Block a user