Page MenuHomeFreeBSD

D21106.id60255.diff
No OneTemporary

D21106.id60255.diff

Index: contrib/elftoolchain/cxxfilt/cxxfilt.c
===================================================================
--- contrib/elftoolchain/cxxfilt/cxxfilt.c
+++ contrib/elftoolchain/cxxfilt/cxxfilt.c
@@ -25,6 +25,8 @@
*/
#include <sys/param.h>
+
+#include <capsicum_helpers.h>
#include <ctype.h>
#include <err.h>
#include <getopt.h>
@@ -165,6 +167,9 @@
argv += optind;
argc -= optind;
+ if (caph_enter() < 0)
+ err(EXIT_FAILURE, "failed to enter capability mode");
+
if (*argv != NULL) {
for (n = 0; n < argc; n++) {
if ((dem = demangle(argv[n])) == NULL)

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 2:39 AM (4 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35426171
Default Alt Text
D21106.id60255.diff (580 B)

Event Timeline