Skip to contentSkip to conversation

checksyscalls.sh: Add ignore rseq.

PATCH New Yoshinori Sato 1 participant 1 message Jul 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 checksyscalls.sh: Add ignore rseq.

This syscall depend on HAVE_RSEQ.
So, if HAVE_RSEQ is not defined, it should be ignored.

---
 scripts/checksyscalls.sh | 4 ++++
 1 file changed, 4 insertions(+)
scripts/checksyscalls.sh +4 -0
index ee3dfb5be6cd..ff0a8c51e126 100755
@@ -199,6 +199,10 @@ cat << EOF
 #define __IGNORE_getpmsg
 #define __IGNORE_putpmsg
 #define __IGNORE_vserver
+
+#ifndef CONFIG_HAVE_RSEQ
+#define __IGNORE_rseq
+#endif
 EOF
 }
 
Signature · 1 line
2.11.0