]> granicus.if.org Git - strace/commitdiff
x32: move rseq syscall entry to a suitable place
authorChen Jingpiao <chenjingpiao@gmail.com>
Sun, 17 Jun 2018 14:45:46 +0000 (22:45 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 17 Jun 2018 23:02:13 +0000 (23:02 +0000)
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

index 072a2c3efd99faea28a6267f7273e0e811e2837a..e0a16d5cca377eb4a46558d5b0552b6f741bf1e9 100644 (file)
 [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.
 [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"                  },