[LTP] [PATCH] cve/cve-2017-16939.c: Fix compilation without CLONE_NEWUSER and CLONE_NEWNET
Jinhui Huang
huangjh.jy@cn.fujitsu.com
Wed Mar 14 07:33:48 CET 2018
Compilation failed on some older distributions due to undefined CLONE_NEWUSER
and CLONE_NEWNET, so we include lapi/namespaces_constants.h to fix it.
Signed-off-by: Jinhui Huang <huangjh.jy@cn.fujitsu.com>
---
testcases/cve/cve-2017-16939.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/cve/cve-2017-16939.c b/testcases/cve/cve-2017-16939.c
index a49499c..223ca83 100644
--- a/testcases/cve/cve-2017-16939.c
+++ b/testcases/cve/cve-2017-16939.c
@@ -36,6 +36,7 @@
#include "tst_res_flags.h"
#include "tst_safe_macros.h"
#include "tst_safe_net.h"
+#include "lapi/namespaces_constants.h"
#define BUFSIZE 2048
--
1.8.3.1
More information about the ltp
mailing list