Date: Thu, 9 Mar 2017 06:41:01 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314949 - head/contrib/traceroute Message-ID: <201703090641.v296f1Zv097405@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Thu Mar 9 06:41:00 2017 New Revision: 314949 URL: https://svnweb.freebsd.org/changeset/base/314949 Log: Cache NLS data for strerror(3). Modified: head/contrib/traceroute/traceroute.c Modified: head/contrib/traceroute/traceroute.c ============================================================================== --- head/contrib/traceroute/traceroute.c Thu Mar 9 06:01:24 2017 (r314948) +++ head/contrib/traceroute/traceroute.c Thu Mar 9 06:41:00 2017 (r314949) @@ -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)).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703090641.v296f1Zv097405>