logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0007-Avoid-index-ranges-and-empty-initializer-lists-in-sy.patch (43416B)


  1. From 261761aff67c7169b758c4747b3fe7826161ee6d Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sun, 7 Jul 2019 22:29:34 -0700
  4. Subject: [PATCH] Avoid index ranges and empty initializer lists in syscallent
  5. arrays
  6. ---
  7. src/linux/alpha/syscallent.h | 34 ++++++-------
  8. src/linux/arm/syscallent.h | 2 +-
  9. src/linux/avr32/syscallent.h | 4 +-
  10. src/linux/bfin/syscallent.h | 2 +-
  11. src/linux/i386/syscallent.h | 6 +--
  12. src/linux/m68k/syscallent.h | 2 +-
  13. src/linux/microblaze/syscallent.h | 6 +--
  14. src/linux/mips/syscallent-compat.h | 46 +++++++++---------
  15. src/linux/s390/syscallent.h | 42 ++++++++--------
  16. src/linux/s390x/syscallent.h | 78 +++++++++++++++---------------
  17. src/linux/sh/syscallent.h | 12 ++---
  18. src/linux/sh64/syscallent.h | 18 +++----
  19. src/linux/xtensa/syscallent.h | 32 ++++++------
  20. 13 files changed, 142 insertions(+), 142 deletions(-)
  21. diff --git a/src/linux/alpha/syscallent.h b/src/linux/alpha/syscallent.h
  22. index 87cbe59bd..88bc0a5a4 100644
  23. --- a/src/linux/alpha/syscallent.h
  24. +++ b/src/linux/alpha/syscallent.h
  25. @@ -60,7 +60,7 @@
  26. [ 50] = { 5, 0, SEN(printargs), "osf_setlogin" }, /* not implemented */
  27. [ 51] = { 1, TF, SEN(acct), "acct" },
  28. [ 52] = { 1, TS, SEN(sigpending), "sigpending" },
  29. -[ 53] = { },
  30. +/* [ 53] - unused */
  31. [ 54] = { 3, TD, SEN(ioctl), "ioctl" },
  32. [ 55] = { 5, 0, SEN(printargs), "osf_reboot" }, /* not implemented */
  33. [ 56] = { 5, 0, SEN(printargs), "osf_revoke" }, /* not implemented */
  34. @@ -126,7 +126,7 @@
  35. [116] = { 2, TCL, SEN(osf_gettimeofday), "osf_gettimeofday" },
  36. [117] = { 2, 0, SEN(osf_getrusage), "osf_getrusage" },
  37. [118] = { 5, TN, SEN(getsockopt), "getsockopt" },
  38. -[119] = { },
  39. +/* [119] - unused */
  40. [120] = { 3, TD, SEN(readv), "readv" },
  41. [121] = { 3, TD, SEN(writev), "writev" },
  42. [122] = { 2, TCL, SEN(osf_settimeofday), "osf_settimeofday" },
  43. @@ -158,31 +158,31 @@
  44. [148] = { 4, TF, SEN(quotactl), "quotactl" },
  45. [149] = { 5, 0, SEN(printargs), "osf_oldquota" }, /* not implemented */
  46. [150] = { 3, TN, SEN(getsockname), "getsockname" },
  47. -[151 ... 152] = { },
  48. +/* [151 ... 152] - unused */
  49. [153] = { 5, 0, SEN(printargs), "osf_pid_block" }, /* not implemented */
  50. [154] = { 5, 0, SEN(printargs), "osf_pid_unblock" }, /* not implemented */
  51. -[155] = { },
  52. +/* [155] - unused */
  53. [156] = { 3, TS, SEN(sigaction), "sigaction" },
  54. [157] = { 5, 0, SEN(printargs), "osf_sigwaitprim" }, /* not implemented */
  55. [158] = { 5, 0, SEN(printargs), "osf_nfssvc" }, /* not implemented */
  56. [159] = { 4, 0, SEN(printargs), "osf_getdirentries" },
  57. [160] = { 3, TF|TSF|TSFA, SEN(osf_statfs), "osf_statfs" },
  58. [161] = { 3, TD|TFSF|TSFA, SEN(osf_fstatfs), "osf_fstatfs" },
  59. -[162] = { },
  60. +/* [162] - unused */
  61. [163] = { 5, 0, SEN(printargs), "osf_asynch_daemon" }, /* not implemented */
  62. [164] = { 5, 0, SEN(printargs), "osf_getfh" }, /* not implemented */
  63. [165] = { 2, 0, SEN(printargs), "osf_getdomainname" },
  64. [166] = { 2, 0, SEN(setdomainname), "setdomainname" },
  65. -[167 ... 168] = { },
  66. +/* [167 ... 168] - unused */
  67. [169] = { 5, 0, SEN(printargs), "osf_exportfs" }, /* not implemented */
  68. -[170 ... 180] = { },
  69. +/* [170 ... 180] - unused */
  70. [181] = { 5, 0, SEN(printargs), "osf_alt_plock" }, /* not implemented */
  71. -[182 ... 183] = { },
  72. +/* [182 ... 183] - unused */
  73. [184] = { 5, 0, SEN(printargs), "osf_getmnt" }, /* not implemented */
  74. -[185 ... 186] = { },
  75. +/* [185 ... 186] - unused */
  76. [187] = { 5, 0, SEN(printargs), "osf_alt_sigpending" }, /* not implemented */
  77. [188] = { 5, 0, SEN(printargs), "osf_alt_setsid" }, /* not implemented */
  78. -[189 ... 198] = { },
  79. +/* [189 ... 198] - unused */
  80. [199] = { 4, 0, SEN(printargs), "osf_swapon" },
  81. [200] = { 3, TI, SEN(msgctl), "msgctl" },
  82. [201] = { 2, TI, SEN(msgget), "msgget" },
  83. @@ -205,7 +205,7 @@
  84. [218] = { 5, 0, SEN(printargs), "osf_signal" }, /* not implemented */
  85. [219] = { 5, 0, SEN(printargs), "osf_utc_gettime" }, /* not implemented */
  86. [220] = { 5, TCL, SEN(printargs), "osf_utc_adjtime" }, /* not implemented */
  87. -[221] = { },
  88. +/* [221] - unused */
  89. [222] = { 5, 0, SEN(printargs), "osf_security" }, /* not implemented */
  90. [223] = { 5, 0, SEN(printargs), "osf_kloadcall" }, /* not implemented */
  91. [224] = { 2, TF|TST|TSTA, SEN(printargs), "osf_stat" },
  92. @@ -213,7 +213,7 @@
  93. [226] = { 2, TD|TFST|TSTA, SEN(printargs), "osf_fstat" },
  94. [227] = { 3, TF|TSF|TSFA, SEN(osf_statfs), "osf_statfs64" },
  95. [228] = { 3, TD|TFSF|TSFA, SEN(osf_fstatfs), "osf_fstatfs64" },
  96. -[229 ... 232] = { },
  97. +/* [229 ... 232] - unused */
  98. [233] = { 1, 0, SEN(getpgid), "getpgid" },
  99. [234] = { 1, 0, SEN(getsid), "getsid" },
  100. [235] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
  101. @@ -230,7 +230,7 @@
  102. [246] = { 5, 0, SEN(printargs), "osf_ntp_gettime" }, /* not implemented */
  103. [247] = { 5, 0, SEN(printargs), "osf_pathconf" }, /* not implemented */
  104. [248] = { 5, 0, SEN(printargs), "osf_fpathconf" }, /* not implemented */
  105. -[249] = { },
  106. +/* [249] - unused */
  107. [250] = { 5, 0, SEN(printargs), "osf_uswitch" }, /* not implemented */
  108. [251] = { 2, 0, SEN(printargs), "osf_usleep_thread" },
  109. [252] = { 5, 0, SEN(printargs), "osf_audcntl" }, /* not implemented */
  110. @@ -243,7 +243,7 @@
  111. [259] = { 5, 0, SEN(printargs), "osf_swapctl" }, /* not implemented */
  112. [260] = { 5, 0, SEN(printargs), "osf_memcntl" }, /* not implemented */
  113. [261] = { 5, 0, SEN(printargs), "osf_fdatasync" }, /* not implemented */
  114. -[262 ... 299] = { },
  115. +/* [262 ... 299] - unused */
  116. [300] = { 2, 0, SEN(bdflush), "bdflush" },
  117. [301] = { 1, 0, SEN(printargs), "sethae" },
  118. [302] = { 5, TF, SEN(mount), "mount" },
  119. @@ -264,7 +264,7 @@
  120. [317] = { 0, TM, SEN(munlockall), "munlockall" },
  121. [318] = { 1, 0, SEN(sysinfo), "sysinfo" },
  122. [319] = { 1, 0, SEN(sysctl), "_sysctl" },
  123. -[320] = { },
  124. +/* [320] - unused */
  125. [321] = { 1, TF, SEN(umount), "oldumount" },
  126. [322] = { 2, TF, SEN(swapon), "swapon" },
  127. [323] = { 1, 0, SEN(times), "times" },
  128. @@ -324,7 +324,7 @@
  129. [377] = { 3, TD, SEN(getdents64), "getdents64" },
  130. [378] = { 0, PU|NF, SEN(gettid), "gettid" },
  131. [379] = { 3, TD, SEN(readahead), "readahead" },
  132. -[380] = { },
  133. +/* [380] - unused */
  134. [381] = { 2, TS|TP, SEN(tkill), "tkill" },
  135. [382] = { 5, TF, SEN(setxattr), "setxattr" },
  136. [383] = { 5, TF, SEN(setxattr), "lsetxattr" },
  137. @@ -347,7 +347,7 @@
  138. [400] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
  139. [401] = { 3, 0, SEN(io_submit), "io_submit" },
  140. [402] = { 3, 0, SEN(io_cancel), "io_cancel" },
  141. -[403 ... 404] = { },
  142. +/* [403 ... 404] - unused */
  143. [405] = { 1, TP|SE, SEN(exit), "exit_group" },
  144. [406] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  145. [407] = { 1, TD, SEN(epoll_create), "epoll_create" },
  146. diff --git a/src/linux/arm/syscallent.h b/src/linux/arm/syscallent.h
  147. index 2086308a2..f4d808f2d 100644
  148. --- a/src/linux/arm/syscallent.h
  149. +++ b/src/linux/arm/syscallent.h
  150. @@ -433,7 +433,7 @@
  151. * ARM specific syscalls. Encoded with scno 0x000f00xx.
  152. * Remapped by shuffle_scno() to be directly after __ARM_NR_cmpxchg.
  153. */
  154. -[ARM_FIRST_SHUFFLED_SYSCALL+1+0] = { },
  155. +/* [ARM_FIRST_SHUFFLED_SYSCALL+1+0] - unused */
  156. [ARM_FIRST_SHUFFLED_SYSCALL+1+1] = { 0, 0, SEN(printargs), "breakpoint" },
  157. [ARM_FIRST_SHUFFLED_SYSCALL+1+2] = { 3, TM, SEN(printargs), "cacheflush" },
  158. [ARM_FIRST_SHUFFLED_SYSCALL+1+3] = { 0, 0, SEN(printargs), "usr26" },
  159. diff --git a/src/linux/avr32/syscallent.h b/src/linux/avr32/syscallent.h
  160. index 104044e5f..1b3f3c64e 100644
  161. --- a/src/linux/avr32/syscallent.h
  162. +++ b/src/linux/avr32/syscallent.h
  163. @@ -228,7 +228,7 @@
  164. [219] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
  165. [220] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
  166. [221] = { 3, TS|TP, SEN(tgkill), "tgkill" },
  167. -[222] = { },
  168. +/* [222] - unused */
  169. [223] = { 2, TF, SEN(utimes), "utimes" },
  170. [224] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },
  171. [225] = { 3, 0, SEN(printargs), "cacheflush" },
  172. @@ -288,7 +288,7 @@
  173. [279] = { 3, TD|TS, SEN(signalfd), "signalfd" },
  174. [280] = { 4, TD, SEN(timerfd), "timerfd" },
  175. [281] = { 1, TD, SEN(eventfd), "eventfd" },
  176. -[282] = { },
  177. +/* [282] - unused */
  178. [283] = { 2, TD, SEN(setns), "setns" },
  179. [284] = { 5, TD, SEN(pread), "pread64" },
  180. [285] = { 5, TD, SEN(pwrite), "pwrite64" },
  181. diff --git a/src/linux/bfin/syscallent.h b/src/linux/bfin/syscallent.h
  182. index 05720b4f9..abef9f5c6 100644
  183. --- a/src/linux/bfin/syscallent.h
  184. +++ b/src/linux/bfin/syscallent.h
  185. @@ -229,7 +229,7 @@
  186. [219] = { 3, TM, SEN(madvise), "madvise" },
  187. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  188. [221] = { 3, TD, SEN(fcntl64), "fcntl64" },
  189. -[222 ... 223] = { },
  190. +/* [222 ... 223] - unused */
  191. [224] = { 0, PU|NF, SEN(gettid), "gettid" },
  192. [225] = { 4, TD, SEN(readahead), "readahead" },
  193. [226] = { 5, TF, SEN(setxattr), "setxattr" },
  194. diff --git a/src/linux/i386/syscallent.h b/src/linux/i386/syscallent.h
  195. index 3553a0575..4ae813d43 100644
  196. --- a/src/linux/i386/syscallent.h
  197. +++ b/src/linux/i386/syscallent.h
  198. @@ -229,7 +229,7 @@
  199. [219] = { 3, TM, SEN(madvise), "madvise" },
  200. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  201. [221] = { 3, TD, SEN(fcntl64), "fcntl64" },
  202. -[222 ... 223] = { },
  203. +/* [222 ... 223] - unused */
  204. [224] = { 0, PU|NF, SEN(gettid), "gettid" },
  205. [225] = { 4, TD, SEN(readahead), "readahead" },
  206. [226] = { 5, TF, SEN(setxattr), "setxattr" },
  207. @@ -257,7 +257,7 @@
  208. [248] = { 3, 0, SEN(io_submit), "io_submit" },
  209. [249] = { 3, 0, SEN(io_cancel), "io_cancel" },
  210. [250] = { 5, TD, SEN(fadvise64), "fadvise64" },
  211. -[251] = { }, /* sys_set_zone_reclaim */
  212. +/* [251] - sys_set_zone_reclaim */
  213. [252] = { 1, TP|SE, SEN(exit), "exit_group" },
  214. [253] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  215. [254] = { 1, TD, SEN(epoll_create), "epoll_create" },
  216. @@ -291,7 +291,7 @@
  217. [282] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
  218. [283] = { 4, 0, SEN(kexec_load), "kexec_load" },
  219. [284] = { 5, TP, SEN(waitid), "waitid" },
  220. -[285] = { }, /* sys_setaltroot */
  221. +/* [285] - sys_setaltroot */
  222. [286] = { 5, 0, SEN(add_key), "add_key" },
  223. [287] = { 4, 0, SEN(request_key), "request_key" },
  224. [288] = { 5, 0, SEN(keyctl), "keyctl" },
  225. diff --git a/src/linux/m68k/syscallent.h b/src/linux/m68k/syscallent.h
  226. index 3abd77b0c..d861832e2 100644
  227. --- a/src/linux/m68k/syscallent.h
  228. +++ b/src/linux/m68k/syscallent.h
  229. @@ -225,7 +225,7 @@
  230. [215] = { 1, TC|NF, SEN(setfsuid), "setfsuid32" },
  231. [216] = { 1, TC|NF, SEN(setfsgid), "setfsgid32" },
  232. [217] = { 2, TF, SEN(pivotroot), "pivot_root" },
  233. -[218 ... 219] = { },
  234. +/* [218 ... 219] - unused */
  235. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  236. [221] = { 0, PU|NF, SEN(gettid), "gettid" },
  237. [222] = { 2, TS|TP, SEN(tkill), "tkill" },
  238. diff --git a/src/linux/microblaze/syscallent.h b/src/linux/microblaze/syscallent.h
  239. index 15ca048ca..7c86c2d07 100644
  240. --- a/src/linux/microblaze/syscallent.h
  241. +++ b/src/linux/microblaze/syscallent.h
  242. @@ -229,7 +229,7 @@
  243. [219] = { 3, TM, SEN(madvise), "madvise" },
  244. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  245. [221] = { 3, TD, SEN(fcntl64), "fcntl64" },
  246. -[222 ... 223] = { },
  247. +/* [222 ... 223] - unused */
  248. [224] = { 0, PU|NF, SEN(gettid), "gettid" },
  249. [225] = { 4, TD, SEN(readahead), "readahead" },
  250. [226] = { 5, TF, SEN(setxattr), "setxattr" },
  251. @@ -257,7 +257,7 @@
  252. [248] = { 3, 0, SEN(io_submit), "io_submit" },
  253. [249] = { 3, 0, SEN(io_cancel), "io_cancel" },
  254. [250] = { 5, TD, SEN(fadvise64), "fadvise64" },
  255. -[251] = { },
  256. +/* [251] - unused */
  257. [252] = { 1, TP|SE, SEN(exit), "exit_group" },
  258. [253] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  259. [254] = { 1, TD, SEN(epoll_create), "epoll_create" },
  260. @@ -291,7 +291,7 @@
  261. [282] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
  262. [283] = { 4, 0, SEN(kexec_load), "kexec_load" },
  263. [284] = { 5, TP, SEN(waitid), "waitid" },
  264. -[285] = { },
  265. +/* [285] - unused */
  266. [286] = { 5, 0, SEN(add_key), "add_key" },
  267. [287] = { 4, 0, SEN(request_key), "request_key" },
  268. [288] = { 5, 0, SEN(keyctl), "keyctl" },
  269. diff --git a/src/linux/mips/syscallent-compat.h b/src/linux/mips/syscallent-compat.h
  270. index 29cc42632..b1274f890 100644
  271. --- a/src/linux/mips/syscallent-compat.h
  272. +++ b/src/linux/mips/syscallent-compat.h
  273. @@ -69,13 +69,13 @@
  274. [ 61] = { 0, 0, SEN(printargs), "svr4_chroot" },
  275. [ 62] = { 0, 0, SEN(printargs), "svr4_fcntl" },
  276. [ 63] = { 0, 0, SEN(printargs), "svr4_ulimit" },
  277. -[64 ... 69] = { },
  278. +/* [64 ... 69] - unused */
  279. [ 70] = { 0, 0, SEN(printargs), "svr4_advfs" },
  280. [ 71] = { 0, 0, SEN(printargs), "svr4_unadvfs" },
  281. -[ 72] = { },
  282. -[ 73] = { },
  283. +/* [ 72] - unused */
  284. +/* [ 73] - unused */
  285. [ 74] = { 0, 0, SEN(printargs), "svr4_rfstart" },
  286. -[ 75] = { },
  287. +/* [ 75] - unused */
  288. [ 76] = { 0, 0, SEN(printargs), "svr4_rdebug" },
  289. [ 77] = { 0, 0, SEN(printargs), "svr4_rfstop" },
  290. [ 78] = { 0, 0, SEN(printargs), "svr4_rfsys" },
  291. @@ -105,7 +105,7 @@
  292. [ 102] = { 0, 0, SEN(printargs), "svr4_evtrapret" },
  293. [ 103] = { 0, TF|TSF|TSFA,SEN(printargs), "svr4_statvfs" },
  294. [ 104] = { 0, TD|TFSF|TSFA,SEN(printargs), "svr4_fstatvfs" },
  295. -[ 105] = { },
  296. +/* [ 105] - unused */
  297. [ 106] = { 0, 0, SEN(printargs), "svr4_nfssys" },
  298. [ 107] = { 0, 0, SEN(printargs), "svr4_waitid" },
  299. [ 108] = { 0, 0, SEN(printargs), "svr4_sigsendset" },
  300. @@ -140,13 +140,13 @@
  301. [ 137] = { 0, 0, SEN(printargs), "svr4_sysconf" },
  302. [ 138] = { 0, TCL, SEN(printargs), "svr4_adjtime" },
  303. [ 139] = { 0, 0, SEN(printargs), "svr4_sysinfo" },
  304. -[ 140] = { },
  305. +/* [ 140] - unused */
  306. [ 141] = { 0, TC, SEN(printargs), "svr4_seteuid" },
  307. [ 142] = { 0, 0, SEN(printargs), "svr4_PYRAMID_statis" },
  308. [ 143] = { 0, 0, SEN(printargs), "svr4_PYRAMID_tuning" },
  309. [ 144] = { 0, 0, SEN(printargs), "svr4_PYRAMID_forcerr" },
  310. [ 145] = { 0, 0, SEN(printargs), "svr4_PYRAMID_mpcntl" },
  311. -[146 ... 200] = { },
  312. +/* [146 ... 200] - unused */
  313. [ 201] = { 0, 0, SEN(printargs), "svr4_aread" },
  314. [ 202] = { 0, 0, SEN(printargs), "svr4_awrite" },
  315. [ 203] = { 0, 0, SEN(printargs), "svr4_listio" },
  316. @@ -214,13 +214,13 @@
  317. [1055] = { 0, 0, SEN(printargs), "sysv_uadmin" },
  318. [1056] = { 0, 0, SEN(printargs), "sysv_sysmp" },
  319. [1057] = { 0, 0, SEN(printargs), "sysv_utssys" },
  320. -[1058] = { },
  321. +/* [1058] - unused */
  322. [1059] = { 0, 0, SEN(printargs), "sysv_execve" },
  323. [1060] = { 0, 0, SEN(printargs), "sysv_umask" },
  324. [1061] = { 0, 0, SEN(printargs), "sysv_chroot" },
  325. [1062] = { 0, 0, SEN(printargs), "sysv_fcntl" },
  326. [1063] = { 0, 0, SEN(printargs), "sysv_ulimit" },
  327. -[1064 ... 1069] = { },
  328. +/* [1064 ... 1069] - unused */
  329. [1070] = { 0, 0, SEN(printargs), "sysv_advfs" },
  330. [1071] = { 0, 0, SEN(printargs), "sysv_unadvfs" },
  331. [1072] = { 0, 0, SEN(printargs), "sysv_rmount" },
  332. @@ -390,8 +390,8 @@
  333. [2046] = { 0, TC, SEN(printargs), "bsd43_setgid" },
  334. [2047] = { 0, TC, SEN(printargs), "bsd43_getgid" },
  335. [2048] = { 0, 0, SEN(printargs), "bsd43_ssig" },
  336. -[2049] = { },
  337. -[2050] = { },
  338. +/* [2049] - unused */
  339. +/* [2050] - unused */
  340. [2051] = { 0, 0, SEN(printargs), "bsd43_sysacct" },
  341. [2052] = { 0, 0, SEN(printargs), "bsd43_phys" },
  342. [2053] = { 0, 0, SEN(printargs), "bsd43_lock" },
  343. @@ -404,7 +404,7 @@
  344. [2060] = { 0, 0, SEN(printargs), "bsd43_umask" },
  345. [2061] = { 0, 0, SEN(printargs), "bsd43_chroot" },
  346. [2062] = { 0, TD|TFST|TSTA,SEN(printargs), "bsd43_fstat" },
  347. -[2063] = { },
  348. +/* [2063] - unused */
  349. [2064] = { 0, 0, SEN(printargs), "bsd43_getpagesize" },
  350. [2065] = { 0, TM|SI, SEN(printargs), "bsd43_mremap" },
  351. [2066] = { 0, 0, SEN(printargs), "bsd43_vfork" },
  352. @@ -460,7 +460,7 @@
  353. [2116] = { 0, TCL, SEN(printargs), "bsd43_gettimeofday" },
  354. [2117] = { 0, 0, SEN(printargs), "bsd43_getrusage" },
  355. [2118] = { 0, 0, SEN(printargs), "bsd43_getsockopt" },
  356. -[2119] = { },
  357. +/* [2119] - unused */
  358. [2120] = { 0, 0, SEN(printargs), "bsd43_readv" },
  359. [2121] = { 0, 0, SEN(printargs), "bsd43_writev" },
  360. [2122] = { 0, TCL, SEN(printargs), "bsd43_settimeofday" },
  361. @@ -496,8 +496,8 @@
  362. [2152] = { 0, 0, SEN(printargs), "bsd43_cacheflush" },
  363. [2153] = { 0, 0, SEN(printargs), "bsd43_cachectl" },
  364. [2154] = { 0, 0, SEN(printargs), "bsd43_debug" },
  365. -[2155] = { },
  366. -[2156] = { },
  367. +/* [2155] - unused */
  368. +/* [2156] - unused */
  369. [2157] = { 0, 0, SEN(printargs), "bsd43_nfs_mount" },
  370. [2158] = { 0, 0, SEN(printargs), "bsd43_nfs_svc" },
  371. [2159] = { 0, 0, SEN(printargs), "bsd43_getdirentries" },
  372. @@ -518,8 +518,8 @@
  373. [2174] = { 0, 0, SEN(printargs), "bsd43_libattach" },
  374. [2175] = { 0, 0, SEN(printargs), "bsd43_libdetach" },
  375. [2176] = { 0, 0, SEN(printargs), "bsd43_accept" },
  376. -[2177] = { },
  377. -[2178] = { },
  378. +/* [2177] - unused */
  379. +/* [2178] - unused */
  380. [2179] = { 0, 0, SEN(printargs), "bsd43_recvmsg" },
  381. [2180] = { 0, 0, SEN(printargs), "bsd43_recvfrom" },
  382. [2181] = { 0, 0, SEN(printargs), "bsd43_sendmsg" },
  383. @@ -592,19 +592,19 @@
  384. [3055] = { 0, 0, SEN(printargs), "posix_uadmin" },
  385. [3056] = { 0, 0, SEN(printargs), "posix_exch" },
  386. [3057] = { 0, 0, SEN(printargs), "posix_utssys" },
  387. -[3058] = { },
  388. +/* [3058] - unused */
  389. [3059] = { 0, 0, SEN(printargs), "posix_exece" },
  390. [3060] = { 0, 0, SEN(printargs), "posix_umask" },
  391. [3061] = { 0, 0, SEN(printargs), "posix_chroot" },
  392. [3062] = { 0, 0, SEN(printargs), "posix_fcntl" },
  393. [3063] = { 0, 0, SEN(printargs), "posix_ulimit" },
  394. -[3064 ... 3069] = { },
  395. +/* [3064 ... 3069] - unused */
  396. [3070] = { 0, 0, SEN(printargs), "posix_advfs" },
  397. [3071] = { 0, 0, SEN(printargs), "posix_unadvfs" },
  398. [3072] = { 0, 0, SEN(printargs), "posix_rmount" },
  399. [3073] = { 0, 0, SEN(printargs), "posix_rumount" },
  400. [3074] = { 0, 0, SEN(printargs), "posix_rfstart" },
  401. -[3075] = { },
  402. +/* [3075] - unused */
  403. [3076] = { 0, 0, SEN(printargs), "posix_rdebug" },
  404. [3077] = { 0, 0, SEN(printargs), "posix_rfstop" },
  405. [3078] = { 0, 0, SEN(printargs), "posix_rfsys" },
  406. @@ -661,7 +661,7 @@
  407. [3129] = { 0, 0, SEN(printargs), "posix_SGI_sproc" },
  408. [3130] = { 0, 0, SEN(printargs), "posix_SGI_prctl" },
  409. [3131] = { 0, 0, SEN(printargs), "posix_SGI_blkproc" },
  410. -[3132] = { },
  411. +/* [3132] - unused */
  412. [3133] = { 0, 0, SEN(printargs), "posix_SGI_sgigsc" },
  413. [3134] = { 0, TD|TM|SI, SEN(printargs), "posix_SGI_mmap" },
  414. [3135] = { 0, TM|SI, SEN(printargs), "posix_SGI_munmap" },
  415. @@ -674,7 +674,7 @@
  416. [3142] = { 0, 0, SEN(printargs), "posix_SGI_libdetach" },
  417. [3143] = { 0, 0, SEN(printargs), "posix_SGI_getpgrp" },
  418. [3144] = { 0, 0, SEN(printargs), "posix_SGI_setpgrp" },
  419. -[3145 ... 3149] = { },
  420. +/* [3145 ... 3149] - unused */
  421. [3150] = { 0, 0, SEN(printargs), "posix_cacheflush" },
  422. [3151] = { 0, 0, SEN(printargs), "posix_cachectl" },
  423. [3152] = { 0, 0, SEN(printargs), "posix_fchown" },
  424. @@ -695,7 +695,7 @@
  425. [3167] = { 0, 0, SEN(printargs), "posix_setrlimit" },
  426. [3168] = { 0, 0, SEN(printargs), "posix_waitpid" },
  427. [3169] = { 0, 0, SEN(printargs), "posix_dup2" },
  428. -[3170 ... 3259] = { },
  429. +/* [3170 ... 3259] - unused */
  430. [3260] = { 0, 0, SEN(printargs), "posix_netboot" },
  431. [3261] = { 0, 0, SEN(printargs), "posix_netunboot" },
  432. [3262] = { 0, 0, SEN(printargs), "posix_rdump" },
  433. diff --git a/src/linux/s390/syscallent.h b/src/linux/s390/syscallent.h
  434. index a808c7b5b..8f7a0aca0 100644
  435. --- a/src/linux/s390/syscallent.h
  436. +++ b/src/linux/s390/syscallent.h
  437. @@ -26,8 +26,8 @@
  438. [ 14] = { 3, TF, SEN(mknod), "mknod" },
  439. [ 15] = { 2, TF, SEN(chmod), "chmod" },
  440. [ 16] = { 3, TF, SEN(chown16), "lchown" },
  441. -[ 17] = { },
  442. -[ 18] = { },
  443. +/* [ 17] - unused */
  444. +/* [ 18] - unused */
  445. [ 19] = { 3, TD, SEN(lseek), "lseek" },
  446. [ 20] = { 0, PU|NF, SEN(getpid), "getpid" },
  447. [ 21] = { 5, TF, SEN(mount), "mount" },
  448. @@ -37,14 +37,14 @@
  449. [ 25] = { 1, 0, SEN(stime), "stime" },
  450. [ 26] = { 4, 0, SEN(ptrace), "ptrace" },
  451. [ 27] = { 1, 0, SEN(alarm), "alarm" },
  452. -[ 28] = { },
  453. +/* [ 28] - unused */
  454. [ 29] = { 0, TS, SEN(pause), "pause" },
  455. [ 30] = { 2, TF, SEN(utime), "utime" },
  456. -[ 31] = { },
  457. -[ 32] = { },
  458. +/* [ 31] - unused */
  459. +/* [ 32] - unused */
  460. [ 33] = { 2, TF, SEN(access), "access" },
  461. [ 34] = { 1, 0, SEN(nice), "nice" },
  462. -[ 35] = { },
  463. +/* [ 35] - unused */
  464. [ 36] = { 0, 0, SEN(sync), "sync" },
  465. [ 37] = { 2, TS|TP, SEN(kill), "kill" },
  466. [ 38] = { 2, TF, SEN(rename), "rename" },
  467. @@ -53,7 +53,7 @@
  468. [ 41] = { 1, TD, SEN(dup), "dup" },
  469. [ 42] = { 1, TD, SEN(pipe), "pipe" },
  470. [ 43] = { 1, 0, SEN(times), "times" },
  471. -[ 44] = { },
  472. +/* [ 44] - unused */
  473. [ 45] = { 1, TM|SI, SEN(brk), "brk" },
  474. [ 46] = { 1, TC, SEN(setgid16), "setgid" },
  475. [ 47] = { 0, TC|PU|NF, SEN(getgid16), "getgid" },
  476. @@ -62,13 +62,13 @@
  477. [ 50] = { 0, TC|PU|NF, SEN(getegid16), "getegid" },
  478. [ 51] = { 1, TF, SEN(acct), "acct" },
  479. [ 52] = { 2, TF, SEN(umount2), "umount2" },
  480. -[ 53] = { },
  481. +/* [ 53] - unused */
  482. [ 54] = { 3, TD, SEN(ioctl), "ioctl" },
  483. [ 55] = { 3, TD, SEN(fcntl), "fcntl" },
  484. -[ 56] = { },
  485. +/* [ 56] - unused */
  486. [ 57] = { 2, 0, SEN(setpgid), "setpgid" },
  487. -[ 58] = { },
  488. -[ 59] = { },
  489. +/* [ 58] - unused */
  490. +/* [ 59] - unused */
  491. [ 60] = { 1, NF, SEN(umask), "umask" },
  492. [ 61] = { 1, TF, SEN(chroot), "chroot" },
  493. [ 62] = { 2, TSFA, SEN(ustat), "ustat" },
  494. @@ -77,8 +77,8 @@
  495. [ 65] = { 0, PU|NF, SEN(getpgrp), "getpgrp" },
  496. [ 66] = { 0, 0, SEN(setsid), "setsid" },
  497. [ 67] = { 3, TS, SEN(sigaction), "sigaction" },
  498. -[ 68] = { },
  499. -[ 69] = { },
  500. +/* [ 68] - unused */
  501. +/* [ 69] - unused */
  502. [ 70] = { 2, TC, SEN(setreuid16), "setreuid" },
  503. [ 71] = { 2, TC, SEN(setregid16), "setregid" },
  504. [ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },
  505. @@ -91,9 +91,9 @@
  506. [ 79] = { 2, TCL, SEN(settimeofday), "settimeofday" },
  507. [ 80] = { 2, TC, SEN(getgroups16), "getgroups" },
  508. [ 81] = { 2, TC, SEN(setgroups16), "setgroups" },
  509. -[ 82] = { },
  510. +/* [ 82] - unused */
  511. [ 83] = { 2, TF, SEN(symlink), "symlink" },
  512. -[ 84] = { },
  513. +/* [ 84] - unused */
  514. [ 85] = { 3, TF, SEN(readlink), "readlink" },
  515. [ 86] = { 1, TF, SEN(uselib), "uselib" },
  516. [ 87] = { 2, TF, SEN(swapon), "swapon" },
  517. @@ -107,7 +107,7 @@
  518. [ 95] = { 3, TD, SEN(fchown16), "fchown" },
  519. [ 96] = { 2, 0, SEN(getpriority), "getpriority" },
  520. [ 97] = { 3, 0, SEN(setpriority), "setpriority" },
  521. -[ 98] = { },
  522. +/* [ 98] - unused */
  523. [ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
  524. [100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
  525. [101] = { 3, 0, SEN(ioperm), "ioperm" },
  526. @@ -118,11 +118,11 @@
  527. [106] = { 2, TF|TST|TSTA, SEN(stat), "stat" },
  528. [107] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" },
  529. [108] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" },
  530. -[109] = { },
  531. +/* [109] - unused */
  532. [110] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  533. [111] = { 0, 0, SEN(vhangup), "vhangup" },
  534. [112] = { 0, 0, SEN(idle), "idle" },
  535. -[113] = { },
  536. +/* [113] - unused */
  537. [114] = { 4, TP, SEN(wait4), "wait4" },
  538. [115] = { 1, TF, SEN(swapoff), "swapoff" },
  539. [116] = { 1, 0, SEN(sysinfo), "sysinfo" },
  540. @@ -132,7 +132,7 @@
  541. [120] = { 5, TP, SEN(clone), "clone" },
  542. [121] = { 2, 0, SEN(setdomainname), "setdomainname" },
  543. [122] = { 1, 0, SEN(uname), "uname" },
  544. -[123] = { },
  545. +/* [123] - unused */
  546. [124] = { 1, TCL, SEN(adjtimex32), "adjtimex" },
  547. [125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
  548. [126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
  549. @@ -175,7 +175,7 @@
  550. [163] = { 5, TM|SI, SEN(mremap), "mremap" },
  551. [164] = { 3, TC, SEN(setresuid16), "setresuid" },
  552. [165] = { 3, TC, SEN(getresuid16), "getresuid" },
  553. -[166] = { },
  554. +/* [166] - unused */
  555. [167] = { 5, 0, SEN(query_module), "query_module" },
  556. [168] = { 3, TD, SEN(poll_time32), "poll" },
  557. [169] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
  558. @@ -251,7 +251,7 @@
  559. [239] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
  560. [240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
  561. [241] = { 3, TS|TP, SEN(tgkill), "tgkill" },
  562. -[242] = { },
  563. +/* [242] - unused */
  564. [243] = { 2, TM, SEN(io_setup), "io_setup" },
  565. [244] = { 1, TM, SEN(io_destroy), "io_destroy" },
  566. [245] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
  567. diff --git a/src/linux/s390x/syscallent.h b/src/linux/s390x/syscallent.h
  568. index 90bf993b7..8c03af9d9 100644
  569. --- a/src/linux/s390x/syscallent.h
  570. +++ b/src/linux/s390x/syscallent.h
  571. @@ -21,29 +21,29 @@
  572. [ 10] = { 1, TF, SEN(unlink), "unlink" },
  573. [ 11] = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" },
  574. [ 12] = { 1, TF, SEN(chdir), "chdir" },
  575. -[ 13] = { },
  576. +/* [ 13] - unused */
  577. [ 14] = { 3, TF, SEN(mknod), "mknod" },
  578. [ 15] = { 2, TF, SEN(chmod), "chmod" },
  579. -[ 16] = { },
  580. -[ 17] = { },
  581. -[ 18] = { },
  582. +/* [ 16] - unused */
  583. +/* [ 17] - unused */
  584. +/* [ 18] - unused */
  585. [ 19] = { 3, TD, SEN(lseek), "lseek" },
  586. [ 20] = { 0, PU|NF, SEN(getpid), "getpid" },
  587. [ 21] = { 5, TF, SEN(mount), "mount" },
  588. [ 22] = { 1, TF, SEN(umount), "umount" },
  589. -[ 23] = { },
  590. -[ 24] = { },
  591. -[ 25] = { },
  592. +/* [ 23] - unused */
  593. +/* [ 24] - unused */
  594. +/* [ 25] - unused */
  595. [ 26] = { 4, 0, SEN(ptrace), "ptrace" },
  596. [ 27] = { 1, 0, SEN(alarm), "alarm" },
  597. -[ 28] = { },
  598. +/* [ 28] - unused */
  599. [ 29] = { 0, TS, SEN(pause), "pause" },
  600. [ 30] = { 2, TF, SEN(utime), "utime" },
  601. -[ 31] = { },
  602. -[ 32] = { },
  603. +/* [ 31] - unused */
  604. +/* [ 32] - unused */
  605. [ 33] = { 2, TF, SEN(access), "access" },
  606. [ 34] = { 1, 0, SEN(nice), "nice" },
  607. -[ 35] = { },
  608. +/* [ 35] - unused */
  609. [ 36] = { 0, 0, SEN(sync), "sync" },
  610. [ 37] = { 2, TS|TP, SEN(kill), "kill" },
  611. [ 38] = { 2, TF, SEN(rename), "rename" },
  612. @@ -52,22 +52,22 @@
  613. [ 41] = { 1, TD, SEN(dup), "dup" },
  614. [ 42] = { 1, TD, SEN(pipe), "pipe" },
  615. [ 43] = { 1, 0, SEN(times), "times" },
  616. -[ 44] = { },
  617. +/* [ 44] - unused */
  618. [ 45] = { 1, TM|SI, SEN(brk), "brk" },
  619. -[ 46] = { },
  620. -[ 47] = { },
  621. +/* [ 46] - unused */
  622. +/* [ 47] - unused */
  623. [ 48] = { 2, TS, SEN(signal), "signal" },
  624. -[ 49] = { },
  625. -[ 50] = { },
  626. +/* [ 49] - unused */
  627. +/* [ 50] - unused */
  628. [ 51] = { 1, TF, SEN(acct), "acct" },
  629. [ 52] = { 2, TF, SEN(umount2), "umount2" },
  630. -[ 53] = { },
  631. +/* [ 53] - unused */
  632. [ 54] = { 3, TD, SEN(ioctl), "ioctl" },
  633. [ 55] = { 3, TD, SEN(fcntl), "fcntl" },
  634. -[ 56] = { },
  635. +/* [ 56] - unused */
  636. [ 57] = { 2, 0, SEN(setpgid), "setpgid" },
  637. -[ 58] = { },
  638. -[ 59] = { },
  639. +/* [ 58] - unused */
  640. +/* [ 59] - unused */
  641. [ 60] = { 1, NF, SEN(umask), "umask" },
  642. [ 61] = { 1, TF, SEN(chroot), "chroot" },
  643. [ 62] = { 2, TSFA, SEN(ustat), "ustat" },
  644. @@ -76,18 +76,18 @@
  645. [ 65] = { 0, PU|NF, SEN(getpgrp), "getpgrp" },
  646. [ 66] = { 0, 0, SEN(setsid), "setsid" },
  647. [ 67] = { 3, TS, SEN(sigaction), "sigaction" },
  648. -[ 68 ... 71] = { },
  649. +/* [ 68 ... 71] - unused */
  650. [ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },
  651. [ 73] = { 1, TS, SEN(sigpending), "sigpending" },
  652. [ 74] = { 2, 0, SEN(sethostname), "sethostname" },
  653. [ 75] = { 2, 0, SEN(setrlimit), "setrlimit" },
  654. -[ 76] = { },
  655. +/* [ 76] - unused */
  656. [ 77] = { 2, 0, SEN(getrusage), "getrusage" },
  657. [ 78] = { 2, TCL, SEN(gettimeofday), "gettimeofday" },
  658. [ 79] = { 2, TCL, SEN(settimeofday), "settimeofday" },
  659. -[ 80 ... 82] = { },
  660. +/* [ 80 ... 82] - unused */
  661. [ 83] = { 2, TF, SEN(symlink), "symlink" },
  662. -[ 84] = { },
  663. +/* [ 84] - unused */
  664. [ 85] = { 3, TF, SEN(readlink), "readlink" },
  665. [ 86] = { 1, TF, SEN(uselib), "uselib" },
  666. [ 87] = { 2, TF, SEN(swapon), "swapon" },
  667. @@ -98,13 +98,13 @@
  668. [ 92] = { 2, TF, SEN(truncate), "truncate" },
  669. [ 93] = { 2, TD, SEN(ftruncate), "ftruncate" },
  670. [ 94] = { 2, TD, SEN(fchmod), "fchmod" },
  671. -[ 95] = { },
  672. +/* [ 95] - unused */
  673. [ 96] = { 2, 0, SEN(getpriority), "getpriority" },
  674. [ 97] = { 3, 0, SEN(setpriority), "setpriority" },
  675. -[ 98] = { },
  676. +/* [ 98] - unused */
  677. [ 99] = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" },
  678. [100] = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" },
  679. -[101] = { },
  680. +/* [101] - unused */
  681. [102] = { 2, TD|TSD, SEN(socketcall), "socketcall" },
  682. [103] = { 3, 0, SEN(syslog), "syslog" },
  683. [104] = { 3, 0, SEN(setitimer), "setitimer" },
  684. @@ -112,11 +112,11 @@
  685. [106] = { 2, TF|TST|TSTA, SEN(stat), "stat" },
  686. [107] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" },
  687. [108] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" },
  688. -[109] = { },
  689. +/* [109] - unused */
  690. [110] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  691. [111] = { 0, 0, SEN(vhangup), "vhangup" },
  692. [112] = { 0, 0, SEN(idle), "idle" },
  693. -[113] = { },
  694. +/* [113] - unused */
  695. [114] = { 4, TP, SEN(wait4), "wait4" },
  696. [115] = { 1, TF, SEN(swapoff), "swapoff" },
  697. [116] = { 1, 0, SEN(sysinfo), "sysinfo" },
  698. @@ -126,7 +126,7 @@
  699. [120] = { 5, TP, SEN(clone), "clone" },
  700. [121] = { 2, 0, SEN(setdomainname), "setdomainname" },
  701. [122] = { 1, 0, SEN(uname), "uname" },
  702. -[123] = { },
  703. +/* [123] - unused */
  704. [124] = { 1, TCL, SEN(adjtimex64), "adjtimex" },
  705. [125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
  706. [126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
  707. @@ -141,7 +141,7 @@
  708. [135] = { 3, 0, SEN(sysfs), "sysfs" },
  709. [136] = { 1, NF, SEN(personality), "personality" },
  710. [137] = { 5, 0, SEN(afs_syscall), "afs_syscall" },
  711. -[138 ... 140] = { },
  712. +/* [138 ... 140] - unused */
  713. [141] = { 3, TD, SEN(getdents), "getdents" },
  714. [142] = { 5, TD, SEN(select), "select" },
  715. [143] = { 2, TD, SEN(flock), "flock" },
  716. @@ -165,11 +165,11 @@
  717. [161] = { 2, 0, SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"},
  718. [162] = { 2, 0, SEN(nanosleep_time64), "nanosleep" },
  719. [163] = { 5, TM|SI, SEN(mremap), "mremap" },
  720. -[164 ... 166] = { },
  721. +/* [164 ... 166] - unused */
  722. [167] = { 5, 0, SEN(query_module), "query_module" },
  723. [168] = { 3, TD, SEN(poll_time64), "poll" },
  724. [169] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
  725. -[170 ... 171] = { },
  726. +/* [170 ... 171] - unused */
  727. [172] = { 5, CC|TC, SEN(prctl), "prctl" },
  728. [173] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" },
  729. [174] = { 4, TS, SEN(rt_sigaction), "rt_sigaction" },
  730. @@ -180,7 +180,7 @@
  731. [179] = { 2, TS, SEN(rt_sigsuspend), "rt_sigsuspend" },
  732. [180] = { 4, TD, SEN(pread), "pread64" },
  733. [181] = { 4, TD, SEN(pwrite), "pwrite64" },
  734. -[182] = { },
  735. +/* [182] - unused */
  736. [183] = { 2, TF, SEN(getcwd), "getcwd" },
  737. [184] = { 2, TC, SEN(capget), "capget" },
  738. [185] = { 2, TC, SEN(capset), "capset" },
  739. @@ -190,7 +190,7 @@
  740. [189] = { 5, TN, SEN(putpmsg), "putpmsg" },
  741. [190] = { 0, TP, SEN(vfork), "vfork" },
  742. [191] = { 2, 0, SEN(getrlimit), "getrlimit" },
  743. -[196 ... 197] = { },
  744. +/* [196 ... 197] - unused */
  745. [198] = { 3, TF, SEN(chown), "lchown" },
  746. [199] = { 0, TC|PU|NF, SEN(getuid), "getuid" },
  747. [200] = { 0, TC|PU|NF, SEN(getgid), "getgid" },
  748. @@ -214,9 +214,9 @@
  749. [218] = { 3, TM, SEN(mincore), "mincore" },
  750. [219] = { 3, TM, SEN(madvise), "madvise" },
  751. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  752. -[221] = { },
  753. +/* [221] - unused */
  754. [222] = { 3, TD, SEN(readahead), "readahead" },
  755. -[223] = { },
  756. +/* [223] - unused */
  757. [224] = { 5, TF, SEN(setxattr), "setxattr" },
  758. [225] = { 5, TF, SEN(setxattr), "lsetxattr" },
  759. [226] = { 5, TD, SEN(fsetxattr), "fsetxattr" },
  760. @@ -235,7 +235,7 @@
  761. [239] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
  762. [240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
  763. [241] = { 3, TS|TP, SEN(tgkill), "tgkill" },
  764. -[242] = { },
  765. +/* [242] - unused */
  766. [243] = { 2, TM, SEN(io_setup), "io_setup" },
  767. [244] = { 1, TM, SEN(io_destroy), "io_destroy" },
  768. [245] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
  769. @@ -257,7 +257,7 @@
  770. [261] = { 2, TCL, SEN(clock_getres_time64), "clock_getres" },
  771. [262] = { 4, 0, SEN(clock_nanosleep_time64), "clock_nanosleep" },
  772. [263] = { 5, 0, SEN(vserver), "vserver" },
  773. -[264] = { },
  774. +/* [264] - unused */
  775. [265] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
  776. [266] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
  777. [267] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" },
  778. diff --git a/src/linux/sh/syscallent.h b/src/linux/sh/syscallent.h
  779. index c238f0400..a95f0db99 100644
  780. --- a/src/linux/sh/syscallent.h
  781. +++ b/src/linux/sh/syscallent.h
  782. @@ -197,7 +197,7 @@
  783. [185] = { 2, TC, SEN(capset), "capset" },
  784. [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
  785. [187] = { 4, TD|TN, SEN(sendfile), "sendfile" },
  786. -[188 ... 189] = { },
  787. +/* [188 ... 189] - unused */
  788. [190] = { 0, TP, SEN(vfork), "vfork" },
  789. [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" },
  790. [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" },
  791. @@ -230,7 +230,7 @@
  792. [219] = { 3, TM, SEN(madvise), "madvise" },
  793. [220] = { 3, TD, SEN(getdents64), "getdents64" },
  794. [221] = { 3, TD, SEN(fcntl64), "fcntl64" },
  795. -[222 ... 223] = { },
  796. +/* [222 ... 223] - unused */
  797. [224] = { 0, PU|NF, SEN(gettid), "gettid" },
  798. [225] = { 4, TD, SEN(readahead), "readahead" },
  799. [226] = { 5, TF, SEN(setxattr), "setxattr" },
  800. @@ -250,14 +250,14 @@
  801. [240] = { 6, 0, SEN(futex_time32), "futex" },
  802. [241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
  803. [242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
  804. -[243 ... 244] = { },
  805. +/* [243 ... 244] - unused */
  806. [245] = { 2, TM, SEN(io_setup), "io_setup" },
  807. [246] = { 1, TM, SEN(io_destroy), "io_destroy" },
  808. [247] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
  809. [248] = { 3, 0, SEN(io_submit), "io_submit" },
  810. [249] = { 3, 0, SEN(io_cancel), "io_cancel" },
  811. [250] = { 5, TD, SEN(fadvise64), "fadvise64" },
  812. -[251] = { },
  813. +/* [251] - unused */
  814. [252] = { 1, TP|SE, SEN(exit), "exit_group" },
  815. [253] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  816. [254] = { 1, TD, SEN(epoll_create), "epoll_create" },
  817. @@ -279,7 +279,7 @@
  818. [270] = { 3, TS|TP, SEN(tgkill), "tgkill" },
  819. [271] = { 2, TF, SEN(utimes), "utimes" },
  820. [272] = { 6, TD, SEN(fadvise64_64), "fadvise64_64" },
  821. -[273] = { },
  822. +/* [273] - unused */
  823. [274] = { 6, TM, SEN(mbind), "mbind" },
  824. [275] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
  825. [276] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
  826. @@ -299,7 +299,7 @@
  827. [290] = { 0, TD, SEN(inotify_init), "inotify_init" },
  828. [291] = { 3, TD|TF, SEN(inotify_add_watch), "inotify_add_watch" },
  829. [292] = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" },
  830. -[293] = { },
  831. +/* [293] - unused */
  832. [294] = { 4, TM, SEN(migrate_pages), "migrate_pages" },
  833. [295] = { 4, TD|TF, SEN(openat), "openat" },
  834. [296] = { 3, TD|TF, SEN(mkdirat), "mkdirat" },
  835. diff --git a/src/linux/sh64/syscallent.h b/src/linux/sh64/syscallent.h
  836. index f33504235..646eb6f4a 100644
  837. --- a/src/linux/sh64/syscallent.h
  838. +++ b/src/linux/sh64/syscallent.h
  839. @@ -89,7 +89,7 @@
  840. [ 79] = { 2, TCL, SEN(settimeofday), "settimeofday" },
  841. [ 80] = { 2, TC, SEN(getgroups16), "getgroups" },
  842. [ 81] = { 2, TC, SEN(setgroups16), "setgroups" },
  843. -[ 82] = { },
  844. +/* [ 82] - unused */
  845. [ 83] = { 2, TF, SEN(symlink), "symlink" },
  846. [ 84] = { 2, TF|TLST|TSTA, SEN(oldlstat), "oldlstat" },
  847. [ 85] = { 3, TF, SEN(readlink), "readlink" },
  848. @@ -120,7 +120,7 @@
  849. [110] = { 1, 0, SEN(iopl), "iopl" },
  850. [111] = { 0, 0, SEN(vhangup), "vhangup" },
  851. [112] = { 0, 0, SEN(idle), "idle" },
  852. -[113] = { },
  853. +/* [113] - unused */
  854. [114] = { 4, TP, SEN(wait4), "wait4" },
  855. [115] = { 1, TF, SEN(swapoff), "swapoff" },
  856. [116] = { 1, 0, SEN(sysinfo), "sysinfo" },
  857. @@ -173,7 +173,7 @@
  858. [163] = { 5, TM|SI, SEN(mremap), "mremap" },
  859. [164] = { 3, TC, SEN(setresuid16), "setresuid" },
  860. [165] = { 3, TC, SEN(getresuid16), "getresuid" },
  861. -[166] = { },
  862. +/* [166] - unused */
  863. [167] = { 5, 0, SEN(query_module), "query_module" },
  864. [168] = { 3, TD, SEN(poll_time64), "poll" },
  865. [169] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
  866. @@ -195,7 +195,7 @@
  867. [185] = { 2, TC, SEN(capset), "capset" },
  868. [186] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
  869. [187] = { 4, TD|TN, SEN(sendfile), "sendfile" },
  870. -[188 ... 189] = { },
  871. +/* [188 ... 189] - unused */
  872. [190] = { 0, TP, SEN(vfork), "vfork" },
  873. [191] = { 2, 0, SEN(getrlimit), "ugetrlimit" },
  874. [192] = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" },
  875. @@ -256,7 +256,7 @@
  876. [247] = { 3, TI, SEN(shmctl), "shmctl" },
  877. [248] = { 3, TD, SEN(getdents64), "getdents64" },
  878. [249] = { 3, TD, SEN(fcntl64), "fcntl64" },
  879. -[250 ... 251] = { },
  880. +/* [250 ... 251] - unused */
  881. [252] = { 0, PU|NF, SEN(gettid), "gettid" },
  882. [253] = { 3, TD, SEN(readahead), "readahead" },
  883. [254] = { 5, TF, SEN(setxattr), "setxattr" },
  884. @@ -276,14 +276,14 @@
  885. [268] = { 6, 0, SEN(futex_time64), "futex" },
  886. [269] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
  887. [270] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
  888. -[271 ... 272] = { },
  889. +/* [271 ... 272] - unused */
  890. [273] = { 2, TM, SEN(io_setup), "io_setup" },
  891. [274] = { 1, TM, SEN(io_destroy), "io_destroy" },
  892. [275] = { 5, 0, SEN(io_getevents_time64), "io_getevents" },
  893. [276] = { 3, 0, SEN(io_submit), "io_submit" },
  894. [277] = { 3, 0, SEN(io_cancel), "io_cancel" },
  895. [278] = { 4, TD, SEN(fadvise64), "fadvise64" },
  896. -[279] = { },
  897. +/* [279] - unused */
  898. [280] = { 1, TP|SE, SEN(exit), "exit_group" },
  899. [281] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  900. [282] = { 1, TD, SEN(epoll_create), "epoll_create" },
  901. @@ -305,7 +305,7 @@
  902. [298] = { 3, TS|TP, SEN(tgkill), "tgkill" },
  903. [299] = { 2, TF, SEN(utimes), "utimes" },
  904. [300] = { 4, TD, SEN(fadvise64_64), "fadvise64_64" },
  905. -[301] = { },
  906. +/* [301] - unused */
  907. [302] = { 6, TM, SEN(mbind), "mbind" },
  908. [303] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
  909. [304] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
  910. @@ -325,7 +325,7 @@
  911. [318] = { 0, TD, SEN(inotify_init), "inotify_init" },
  912. [319] = { 3, TD|TF, SEN(inotify_add_watch), "inotify_add_watch" },
  913. [320] = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" },
  914. -[321] = { },
  915. +/* [321] - unused */
  916. [322] = { 4, TM, SEN(migrate_pages), "migrate_pages" },
  917. [323] = { 4, TD|TF, SEN(openat), "openat" },
  918. [324] = { 3, TD|TF, SEN(mkdirat), "mkdirat" },
  919. diff --git a/src/linux/xtensa/syscallent.h b/src/linux/xtensa/syscallent.h
  920. index 09fed329c..69d58ec6d 100644
  921. --- a/src/linux/xtensa/syscallent.h
  922. +++ b/src/linux/xtensa/syscallent.h
  923. @@ -7,7 +7,7 @@
  924. [ 0] = { 0, 0, SEN(printargs), "spill" },
  925. [ 1] = { 0, 0, SEN(printargs), "xtensa" },
  926. -[ 2 ... 7] = { },
  927. +/* [ 2 ... 7] - unused */
  928. [ 8] = { 3, TD|TF, SEN(open), "open" },
  929. [ 9] = { 1, TD, SEN(close), "close" },
  930. [ 10] = { 1, TD, SEN(dup), "dup" },
  931. @@ -51,7 +51,7 @@
  932. [ 48] = { 3, TF, SEN(chown), "lchown" },
  933. [ 49] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" },
  934. [ 50] = { 2, TF|TLST|TSTA, SEN(lstat64), "lstat64" },
  935. -[ 51] = { },
  936. +/* [ 51] - unused */
  937. [ 52] = { 2, TD, SEN(fchmod), "fchmod" },
  938. [ 53] = { 3, TD, SEN(fchown), "fchown" },
  939. [ 54] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" },
  940. @@ -152,7 +152,7 @@
  941. [149] = { 1, 0, SEN(getpgid), "getpgid" },
  942. [150] = { 0, PU|NF, SEN(getppid), "getppid" },
  943. [151] = { 0, PU|NF, SEN(getpgrp), "getpgrp" },
  944. -[152 ... 153] = { },
  945. +/* [152 ... 153] - unused */
  946. [154] = { 1, 0, SEN(times), "times" },
  947. [155] = { 1, TF, SEN(acct), "acct" },
  948. [156] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
  949. @@ -164,12 +164,12 @@
  950. [162] = { 3, TI, SEN(semget), "semget" },
  951. [163] = { 3, TI, SEN(semop), "semop" },
  952. [164] = { 4, TI, SEN(semctl), "semctl" },
  953. -[165] = { },
  954. +/* [165] - unused */
  955. [166] = { 2, TI, SEN(msgget), "msgget" },
  956. [167] = { 4, TI, SEN(msgsnd), "msgsnd" },
  957. [168] = { 5, TI, SEN(msgrcv), "msgrcv" },
  958. [169] = { 3, TI, SEN(msgctl), "msgctl" },
  959. -[170] = { },
  960. +/* [170] - unused */
  961. [171] = { 2, TF, SEN(umount2), "umount2" },
  962. [172] = { 5, TF, SEN(mount), "mount" },
  963. [173] = { 2, TF, SEN(swapon), "swapon" },
  964. @@ -219,7 +219,7 @@
  965. [217] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
  966. [218] = { 2, 0, SEN(sched_rr_get_interval_time32),"sched_rr_get_interval"},
  967. [219] = { 0, 0, SEN(sched_yield), "sched_yield" },
  968. -[220 ... 222] = { },
  969. +/* [220 ... 222] - unused */
  970. [223] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
  971. [224] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
  972. [225] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" },
  973. @@ -235,7 +235,7 @@
  974. [235] = { 5, TD, SEN(mq_timedreceive_time32), "mq_timedreceive" },
  975. [236] = { 2, TD, SEN(mq_notify), "mq_notify" },
  976. [237] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
  977. -[238] = { },
  978. +/* [238] - unused */
  979. [239] = { 2, TM, SEN(io_setup), "io_setup" },
  980. [240] = { 1, TM, SEN(io_destroy), "io_destroy" },
  981. [241] = { 3, 0, SEN(io_submit), "io_submit" },
  982. @@ -250,13 +250,13 @@
  983. [250] = { 4, 0, SEN(timer_settime32), "timer_settime" },
  984. [251] = { 2, 0, SEN(timer_gettime32), "timer_gettime" },
  985. [252] = { 1, 0, SEN(timer_getoverrun), "timer_getoverrun" },
  986. -[253] = { },
  987. +/* [253] - unused */
  988. [254] = { 4, 0, SEN(lookup_dcookie), "lookup_dcookie" },
  989. -[255] = { },
  990. +/* [255] - unused */
  991. [256] = { 5, 0, SEN(add_key), "add_key" },
  992. [257] = { 4, 0, SEN(request_key), "request_key" },
  993. [258] = { 5, 0, SEN(keyctl), "keyctl" },
  994. -[259] = { },
  995. +/* [259] - unused */
  996. [260] = { 5, TD, SEN(readahead), "readahead" },
  997. [261] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" },
  998. [262] = { 4, TM, SEN(migrate_pages), "migrate_pages" },
  999. @@ -268,7 +268,7 @@
  1000. [268] = { 6, TD, SEN(splice), "splice" },
  1001. [269] = { 4, TD, SEN(tee), "tee" },
  1002. [270] = { 4, TD, SEN(vmsplice), "vmsplice" },
  1003. -[271] = { },
  1004. +/* [271] - unused */
  1005. [272] = { 6, TD, SEN(pselect6_time32), "pselect6" },
  1006. [273] = { 5, TD, SEN(ppoll_time32), "ppoll" },
  1007. [274] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" },
  1008. @@ -283,7 +283,7 @@
  1009. [283] = { 2, 0, SEN(ioprio_get), "ioprio_get" },
  1010. [284] = { 2, 0, SEN(set_robust_list), "set_robust_list" },
  1011. [285] = { 3, 0, SEN(get_robust_list), "get_robust_list" },
  1012. -[286 ... 287] = { },
  1013. +/* [286 ... 287] - unused */
  1014. [288] = { 4, TD|TF, SEN(openat), "openat" },
  1015. [289] = { 3, TD|TF, SEN(mkdirat), "mkdirat" },
  1016. [290] = { 4, TD|TF, SEN(mknodat), "mknodat" },
  1017. @@ -298,9 +298,9 @@
  1018. [299] = { 4, TD|TF|TFST|TSTA,SEN(fstatat64), "fstatat64" },
  1019. [300] = { 3, TD|TF, SEN(fchmodat), "fchmodat" },
  1020. [301] = { 3, TD|TF, SEN(faccessat), "faccessat" },
  1021. -[302 ... 303] = { },
  1022. +/* [302 ... 303] - unused */
  1023. [304] = { 3, TD|TS, SEN(signalfd), "signalfd" },
  1024. -[305] = { },
  1025. +/* [305] - unused */
  1026. [306] = { 1, TD, SEN(eventfd), "eventfd" },
  1027. [307] = { 5, TN, SEN(recvmmsg_time32), "recvmmsg" },
  1028. [308] = { 2, TD, SEN(setns), "setns" },
  1029. @@ -310,11 +310,11 @@
  1030. [312] = { 2, TD, SEN(timerfd_create), "timerfd_create" },
  1031. [313] = { 4, TD, SEN(timerfd_settime32), "timerfd_settime" },
  1032. [314] = { 2, TD, SEN(timerfd_gettime32), "timerfd_gettime" },
  1033. -[315] = { },
  1034. +/* [315] - unused */
  1035. [316] = { 2, TD, SEN(eventfd2), "eventfd2" },
  1036. [317] = { 5, TD, SEN(preadv), "preadv" },
  1037. [318] = { 5, TD, SEN(pwritev), "pwritev" },
  1038. -[319] = { },
  1039. +/* [319] - unused */
  1040. [320] = { 2, TD, SEN(fanotify_init), "fanotify_init" },
  1041. [321] = { 6, TD|TF, SEN(fanotify_mark), "fanotify_mark" },
  1042. [322] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },
  1043. --
  1044. 2.37.3