Skip to content

Commit d563185

Browse files
authored
syscall list update: Add multiple missing syscalls (#402)
1 parent ff54964 commit d563185

5 files changed

Lines changed: 74 additions & 11 deletions

File tree

lib/.dirstamp

Whitespace-only changes.

lib/arm_table.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ _S(266, "statfs64")
256256
_S(267, "fstatfs64")
257257
_S(268, "tgkill")
258258
_S(269, "utimes")
259+
// originally arm_fadvise64_64, but let's maintain common naming
259260
_S(270, "fadvise64_64")
260261
_S(271, "pciconfig_iobase")
261262
_S(272, "pciconfig_read")
@@ -321,15 +322,19 @@ _S(331, "symlinkat")
321322
_S(332, "readlinkat")
322323
_S(333, "fchmodat")
323324
_S(334, "faccessat")
325+
_S(335, "pselect6")
326+
_S(336, "ppoll")
324327
_S(337, "unshare")
325328
_S(338, "set_robust_list")
326329
_S(339, "get_robust_list")
327330
_S(340, "splice")
331+
// originally arm_sync_file_range, but let's maintain common naming
328332
_S(341, "sync_file_range")
329333
_S(342, "tee")
330334
_S(343, "vmsplice")
331335
_S(344, "move_pages")
332336
_S(345, "getcpu")
337+
_S(346, "epoll_pwait")
333338
_S(347, "kexec_load")
334339
_S(348, "utimensat")
335340
_S(349, "signalfd")

lib/ppc_table.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* Steve Grubb <sgrubb@redhat.com>
2121
*/
2222

23+
_S(0, "restart_syscall")
2324
_S(1, "exit")
2425
_S(2, "fork")
2526
_S(3, "read")
@@ -274,6 +275,12 @@ _S(252, "statfs64")
274275
_S(253, "fstatfs64")
275276
_S(254, "fadvise64_64")
276277
_S(255, "rtas")
278+
_S(256, "sys_debug_setcontext")
279+
// 257 reserved for vserver
280+
_S(258, "migrate_pages")
281+
_S(259, "mbind")
282+
_S(260, "get_mempolicy")
283+
_S(261, "set_mempolicy")
277284
_S(262, "mq_open")
278285
_S(263, "mq_unlink")
279286
_S(264, "mq_timedsend")
@@ -378,6 +385,7 @@ _S(362, "execveat")
378385
_S(363, "switch_endian")
379386
_S(364, "userfaultfd")
380387
_S(365, "membarrier")
388+
// 366 - 377 originally left for IPC, now unused
381389
_S(378, "mlock2")
382390
_S(379, "copy_file_range")
383391
_S(380, "preadv2")

lib/s390_table.h

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ _S(3, "read")
2626
_S(4, "write")
2727
_S(5, "open")
2828
_S(6, "close")
29+
_S(7, "restart_syscall")
2930
_S(8, "creat")
3031
_S(9, "link")
3132
_S(10, "unlink")
@@ -111,6 +112,7 @@ _S(105, "getitimer")
111112
_S(106, "stat")
112113
_S(107, "lstat")
113114
_S(108, "fstat")
115+
_S(110, "lookup_dcookie")
114116
_S(111, "vhangup")
115117
_S(112, "idle")
116118
_S(114, "wait4")
@@ -265,9 +267,9 @@ _S(264, "fadvise64_64")
265267
_S(265, "statfs64")
266268
_S(266, "fstatfs64")
267269
_S(267, "remap_file_pages")
268-
//_S(268, "")
269-
//_S(269, "")
270-
//_S(270, "")
270+
_S(268, "mbind")
271+
_S(269, "get_mempolicy")
272+
_S(270, "set_mempolicy")
271273
_S(271, "mq_open")
272274
_S(272, "mq_unlink")
273275
_S(273, "mq_timedsend")
@@ -284,7 +286,7 @@ _S(283, "ioprio_get")
284286
_S(284, "inotify_init")
285287
_S(285, "inotify_add_watch")
286288
_S(286, "inotify_rm_watch")
287-
//_S(287, "")
289+
_S(287, "migrate_pages")
288290
_S(288, "openat")
289291
_S(289, "mkdirat")
290292
_S(290, "mknodat")
@@ -307,7 +309,7 @@ _S(306, "splice")
307309
_S(307, "sync_file_range")
308310
_S(308, "tee")
309311
_S(309, "vmsplice")
310-
//_S(310, "")
312+
_S(310, "move_pages")
311313
_S(311, "getcpu")
312314
_S(312, "epoll_pwait")
313315
_S(313, "utimes")
@@ -375,6 +377,7 @@ _S(374, "mlock2")
375377
_S(375, "copy_file_range")
376378
_S(376, "preadv2")
377379
_S(377, "pwritev2")
380+
_S(378, "s390_guarded_storage")
378381
_S(379, "statx")
379382
_S(380, "s390_sthyi")
380383
_S(381, "kexec_file_load")
@@ -383,6 +386,36 @@ _S(383, "rseq")
383386
_S(384, "pkey_mprotect")
384387
_S(385, "pkey_alloc")
385388
_S(386, "pkey_free")
389+
_S(393, "semget")
390+
_S(394, "semctl")
391+
_S(395, "shmget")
392+
_S(396, "shmctl")
393+
_S(397, "shmat")
394+
_S(398, "shmdt")
395+
_S(399, "msgget")
396+
_S(400, "msgsnd")
397+
_S(401, "msgrcv")
398+
_S(402, "msgctl")
399+
_S(403, "clock_gettime64")
400+
_S(404, "clock_settime64")
401+
_S(405, "clock_adjtime64")
402+
_S(406, "clock_getres_time64")
403+
_S(407, "clock_nanosleep_time64")
404+
_S(408, "timer_gettime64")
405+
_S(409, "timer_settime64")
406+
_S(410, "timerfd_gettime64")
407+
_S(411, "timerfd_settime64")
408+
_S(412, "utimensat_time64")
409+
_S(413, "pselect6_time64")
410+
_S(414, "ppoll_time64")
411+
_S(416, "io_pgetevents_time64")
412+
_S(417, "recvmmsg_time64")
413+
_S(418, "mq_timedsend_time64")
414+
_S(419, "mq_timedreceive_time64")
415+
_S(420, "semtimedop_time64")
416+
_S(421, "rt_sigtimedwait_time64")
417+
_S(422, "futex_time64")
418+
_S(423, "sched_rr_get_interval_time64")
386419
_S(424, "pidfd_send_signal")
387420
_S(425, "io_uring_setup")
388421
_S(426, "io_uring_enter")
@@ -406,6 +439,7 @@ _S(443, "quotactl_fd")
406439
_S(444, "landlock_create_ruleset")
407440
_S(445, "landlock_add_rule")
408441
_S(446, "landlock_restrict_self")
442+
_S(447, "memfd_secret")
409443
_S(448, "process_mrelease")
410444
_S(449, "futex_waitv")
411445
_S(450, "set_mempolicy_home_node")

lib/s390x_table.h

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ _S(3, "read")
2626
_S(4, "write")
2727
_S(5, "open")
2828
_S(6, "close")
29+
_S(7, "restart_syscall")
2930
_S(8, "creat")
3031
_S(9, "link")
3132
_S(10, "unlink")
@@ -95,6 +96,7 @@ _S(105, "getitimer")
9596
_S(106, "stat")
9697
_S(107, "lstat")
9798
_S(108, "fstat")
99+
_S(110, "lookup_dcookie")
98100
_S(111, "vhangup")
99101
_S(112, "idle")
100102
_S(114, "wait4")
@@ -187,6 +189,7 @@ _S(216, "setfsgid")
187189
_S(217, "pivot_root")
188190
_S(218, "mincore")
189191
_S(219, "madvise")
192+
_S(220, "getdents64")
190193
_S(222, "readahead")
191194
_S(224, "setxattr")
192195
_S(225, "lsetxattr")
@@ -229,9 +232,9 @@ _S(262, "clock_nanosleep")
229232
_S(265, "statfs64")
230233
_S(266, "fstatfs64")
231234
_S(267, "remap_file_pages")
232-
//_S(268, "")
233-
//_S(269, "")
234-
//_S(270, "")
235+
_S(268, "mbind")
236+
_S(269, "get_mempolicy")
237+
_S(270, "set_mempolicy")
235238
_S(271, "mq_open")
236239
_S(272, "mq_unlink")
237240
_S(273, "mq_timedsend")
@@ -248,7 +251,7 @@ _S(283, "ioprio_get")
248251
_S(284, "inotify_init")
249252
_S(285, "inotify_add_watch")
250253
_S(286, "inotify_rm_watch")
251-
//_S(287, "")
254+
_S(287, "migrate_pages")
252255
_S(288, "openat")
253256
_S(289, "mkdirat")
254257
_S(290, "mknodat")
@@ -271,7 +274,7 @@ _S(306, "splice")
271274
_S(307, "sync_file_range")
272275
_S(308, "tee")
273276
_S(309, "vmsplice")
274-
//_S(310, "")
277+
_S(310, "move_pages")
275278
_S(311, "getcpu")
276279
_S(312, "epoll_pwait")
277280
_S(313, "utimes")
@@ -299,7 +302,7 @@ _S(334, "prlimit64")
299302
_S(335, "name_to_handle_at")
300303
_S(336, "open_by_handle_at")
301304
_S(337, "clock_adjtime")
302-
_S(338, "syncfs")
305+
_S(338, "syncfs")
303306
_S(339, "setns")
304307
_S(340, "process_vm_readv")
305308
_S(341, "process_vm_writev")
@@ -339,6 +342,7 @@ _S(374, "mlock2")
339342
_S(375, "copy_file_range")
340343
_S(376, "preadv2")
341344
_S(377, "pwritev2")
345+
_S(378, "s390_guarded_storage")
342346
_S(379, "statx")
343347
_S(380, "s390_sthyi")
344348
_S(381, "kexec_file_load")
@@ -347,6 +351,17 @@ _S(383, "rseq")
347351
_S(384, "pkey_mprotect")
348352
_S(385, "pkey_alloc")
349353
_S(386, "pkey_free")
354+
_S(392, "semtimedop")
355+
_S(393, "semget")
356+
_S(394, "semctl")
357+
_S(395, "shmget")
358+
_S(396, "shmctl")
359+
_S(397, "shmat")
360+
_S(398, "shmdt")
361+
_S(399, "msgget")
362+
_S(400, "msgsnd")
363+
_S(401, "msgrcv")
364+
_S(402, "msgctl")
350365
_S(424, "pidfd_send_signal")
351366
_S(425, "io_uring_setup")
352367
_S(426, "io_uring_enter")
@@ -370,6 +385,7 @@ _S(443, "quotactl_fd")
370385
_S(444, "landlock_create_ruleset")
371386
_S(445, "landlock_add_rule")
372387
_S(446, "landlock_restrict_self")
388+
_S(447, "memfd_secret")
373389
_S(448, "process_mrelease")
374390
_S(449, "futex_waitv")
375391
_S(450, "set_mempolicy_home_node")

0 commit comments

Comments
 (0)