From bf6e258bc4b1de8c10836acc46362ffda1d67555 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Wed, 9 Jan 2019 05:30:46 +0000 Subject: [PATCH] Enable use of Capsicum sandbox when there is only one input file (or the input is stdin) and we are not creating output file. Reported by: Lasse Collin MFC after: 1 month --- lib/liblzma/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/liblzma/config.h b/lib/liblzma/config.h index f500d89b1c6e..c8edd304fadb 100644 --- a/lib/liblzma/config.h +++ b/lib/liblzma/config.h @@ -26,7 +26,7 @@ /* #undef HAVE_BYTESWAP_H */ /* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ +#define HAVE_CAPSICUM 1 /* Define to 1 if the system has the type `CC_SHA256_CTX'. */ /* #undef HAVE_CC_SHA256_CTX */ @@ -261,7 +261,7 @@ /* #undef HAVE_SYS_BYTEORDER_H */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ +#define HAVE_SYS_CAPSICUM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ENDIAN_H 1