[RFC PATCH] linux/x32/syscallent.h: move rseq syscall to suitable place

Chen Jingpiao chenjingpiao at gmail.com
Sun Jun 17 14:45:46 UTC 2018


rseq syscall is not x32-specific system call, move it after other is not
x32-specific system call. And fix the unused syscall number range.

* linux/x32/syscallent.h ([334]): Move it after [333].
([335 ... 511]): Update the range.
---
 linux/x32/syscallent.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 072a2c3e..e0a16d5c 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -332,7 +332,8 @@
 [331] = { 1,	0,		SEN(pkey_free),			"pkey_free"		},
 [332] = { 5,	TD|TF|TSTA,	SEN(statx),			"statx"			},
 [333] = { 6,	0,		SEN(io_pgetevents),		"io_pgetevents"		},
-[334 ... 511] = { },
+[334] = { 4,	0,		SEN(rseq),			"rseq"			},
+[335 ... 511] = { },
 /*
  * x32-specific system call numbers start at 512 to avoid cache impact
  * for native 64-bit operation.
@@ -373,4 +374,3 @@
 [545] = { 5,	CST|TD|TF|TP|SE|SI,	SEN(execveat),		"execveat"		},
 [546] = { 5,	TD,		SEN(preadv2),			"preadv2"		},
 [547] = { 5,	TD,		SEN(pwritev2),			"pwritev2"		},
-[334] = { 4,	0,		SEN(rseq),			"rseq"			},
-- 
2.11.0



More information about the Strace-devel mailing list