[LTP] [RFC PATCH 1/6] android: cve: Disable building cve-2017-5669

Petr Vorel petr.vorel@gmail.com
Sat Sep 2 02:59:21 CEST 2017


shmat() is not available on Android/Binder

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 testcases/cve/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testcases/cve/Makefile b/testcases/cve/Makefile
index 04abc1f9c..5119c67cf 100644
--- a/testcases/cve/Makefile
+++ b/testcases/cve/Makefile
@@ -28,4 +28,8 @@ cve-2014-0196:  LDLIBS += -lrt -lutil
 cve-2017-2671:	CFLAGS += -pthread
 cve-2017-2671:	LDLIBS += -lrt
 
+ifeq ($(ANDROID),1)
+FILTER_OUT_MAKE_TARGETS	+= cve-2017-5669
+endif
+
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
-- 
2.14.0



More information about the ltp mailing list