Skip to contentSkip to conversation

cve/cve-2017-16939.c: Fix compilation without CLONE_NEWUSER and CLONE_NEWNET

PATCH New Jinhui Huang 2 participants 2 messages Mar 14, 2018 – Mar 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cve/cve-2017-16939.c: Fix compilation without CLONE_NEWUSER and CLONE_NEWNET

Compilation failed on some older distributions due to undefined CLONE_NEWUSER and CLONE_NEWNET, so we include lapi/namespaces_constants.h to fix it.

---
 testcases/cve/cve-2017-16939.c | 1 +
 1 file changed, 1 insertion(+)
testcases/cve/cve-2017-16939.c +1 -0
index a49499c..223ca83 100644
@@ -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
 
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 cve/cve-2017-16939.c: Fix compilation without CLONE_NEWUSER and CLONE_NEWNET

Hi!
Pushed, thanks.

Signature · 2 lines
Cyril Hrubis
[email protected]