From 34c47e1d1d8d00f9f320715a555953600149fdb3 Mon Sep 17 00:00:00 2001 From: Chen Jingpiao Date: Sun, 17 Jun 2018 22:45:46 +0800 Subject: [PATCH] x32: move rseq syscall entry to a suitable place As rseq syscall is not x32-specific, move it after the previous one that is not x32-specific. 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.40.0