cve/cve-2017-16939.c: Fix compilation without CLONE_NEWUSER and CLONE_NEWNET
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.
Signed-off-by Jinhui Huang <[email protected]>
--- testcases/cve/cve-2017-16939.c | 1 + 1 file changed, 1 insertion(+)
testcases/cve/cve-2017-16939.c +1 -0
@@ -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
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]