Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscall list update: Rename multiple syscalls to be up to date with kernel #389

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added lib/.dirstamp
Empty file.
6 changes: 3 additions & 3 deletions lib/aarch64_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ _S(57, "close")
_S(58, "vhangup")
_S(59, "pipe2")
_S(60, "quotactl")
_S(61, "getdents")
_S(61, "getdents64")
_S(62, "lseek")
_S(63, "read")
_S(64, "write")
_S(65, "readv")
_S(66, "writev")
_S(67, "pread")
_S(68, "pwrite")
_S(67, "pread64")
_S(68, "pwrite64")
_S(69, "preadv")
_S(70, "pwritev")
_S(71, "sendfile")
Expand Down
13 changes: 9 additions & 4 deletions lib/arm_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,16 @@ _S(135, "sysfs")
_S(136, "personality")
_S(138, "setfsuid")
_S(139, "setfsgid")
_S(140, "llseek")
_S(140, "_llseek")
_S(141, "getdents")
_S(142, "newselect")
_S(142, "_newselect")
_S(143, "flock")
_S(144, "msync")
_S(145, "readv")
_S(146, "writev")
_S(147, "getsid")
_S(148, "fdatasync")
_S(149, "sysctl")
_S(149, "_sysctl")
_S(150, "mlock")
_S(151, "munlock")
_S(152, "mlockall")
Expand Down Expand Up @@ -256,6 +256,7 @@ _S(266, "statfs64")
_S(267, "fstatfs64")
_S(268, "tgkill")
_S(269, "utimes")
// originally arm_fadvise64_64, but let's maintain common naming
_S(270, "fadvise64_64")
_S(271, "pciconfig_iobase")
_S(272, "pciconfig_read")
Expand Down Expand Up @@ -321,15 +322,19 @@ _S(331, "symlinkat")
_S(332, "readlinkat")
_S(333, "fchmodat")
_S(334, "faccessat")
_S(335, "pselect6")
_S(336, "ppoll")
_S(337, "unshare")
_S(338, "set_robust_list")
_S(339, "get_robust_list")
_S(340, "splice")
// originally arm_sync_file_range, but let's maintain common naming
_S(341, "sync_file_range")
_S(342, "tee")
_S(343, "vmsplice")
_S(344, "move_pages")
_S(345, "getcpu")
_S(346, "epoll_pwait")
_S(347, "kexec_load")
_S(348, "utimensat")
_S(349, "signalfd")
Expand Down Expand Up @@ -404,7 +409,7 @@ _S(419, "mq_timedreceive_time64")
_S(420, "semtimedop_time64")
_S(421, "rt_sigtimedwait_time64")
_S(422, "futex_time64")
_S(423, "sched_rr_get_interval64")
_S(423, "sched_rr_get_interval_time64")
_S(424, "pidfd_send_signal")
_S(425, "io_uring_setup")
_S(426, "io_uring_enter")
Expand Down
4 changes: 2 additions & 2 deletions lib/i386_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ _S(279, "mq_timedsend")
_S(280, "mq_timedreceive")
_S(281, "mq_notify")
_S(282, "mq_getsetattr")
_S(283, "sys_kexec_load")
_S(283, "kexec_load")
_S(284, "waitid")
// 285 is setaltroot but it is not defined (yet)
_S(286, "add_key")
Expand Down Expand Up @@ -434,7 +434,7 @@ _S(419, "mq_timedreceive_time64")
_S(420, "semtimedop_time64")
_S(421, "rt_sigtimedwait_time64")
_S(422, "futex_time64")
_S(423, "sched_rr_get_interval64")
_S(423, "sched_rr_get_interval_time64")
_S(424, "pidfd_send_signal")
_S(425, "io_uring_setup")
_S(426, "io_uring_enter")
Expand Down
16 changes: 12 additions & 4 deletions lib/ppc_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* Steve Grubb <[email protected]>
*/

_S(0, "restart_syscall")
_S(1, "exit")
_S(2, "fork")
_S(3, "read")
Expand Down Expand Up @@ -198,8 +199,8 @@ _S(175, "rt_sigpending")
_S(176, "rt_sigtimedwait")
_S(177, "rt_sigqueueinfo")
_S(178, "rt_sigsuspend")
_S(179, "pread")
_S(180, "pwrite")
_S(179, "pread64")
_S(180, "pwrite64")
_S(181, "chown")
_S(182, "getcwd")
_S(183, "capget")
Expand Down Expand Up @@ -274,6 +275,12 @@ _S(252, "statfs64")
_S(253, "fstatfs64")
_S(254, "fadvise64_64")
_S(255, "rtas")
_S(256, "sys_debug_setcontext")
// 257 reserved for vserver
_S(258, "migrate_pages")
_S(259, "mbind")
_S(260, "get_mempolicy")
_S(261, "set_mempolicy")
_S(262, "mq_open")
_S(263, "mq_unlink")
_S(264, "mq_timedsend")
Expand Down Expand Up @@ -318,7 +325,7 @@ _S(302, "getcpu")
_S(303, "epoll_pwait")
_S(304, "utimensat")
_S(305, "signalfd")
_S(306, "timerfd")
_S(306, "timerfd_create")
_S(307, "eventfd")
_S(308, "sync_file_range2")
_S(309, "fallocate")
Expand All @@ -331,7 +338,7 @@ _S(315, "epoll_create1")
_S(316, "dup3")
_S(317, "pipe2")
_S(318, "inotify_init1")
_S(319, "perf_counter_open")
_S(319, "perf_event_open")
_S(320, "preadv")
_S(321, "pwritev")
_S(322, "rt_tgsigqueueinfo")
Expand Down Expand Up @@ -378,6 +385,7 @@ _S(362, "execveat")
_S(363, "switch_endian")
_S(364, "userfaultfd")
_S(365, "membarrier")
// 366 - 377 originally left for IPC, now unused
_S(378, "mlock2")
_S(379, "copy_file_range")
_S(380, "preadv2")
Expand Down
48 changes: 41 additions & 7 deletions lib/s390_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ _S(3, "read")
_S(4, "write")
_S(5, "open")
_S(6, "close")
_S(7, "restart_syscall")
_S(8, "creat")
_S(9, "link")
_S(10, "unlink")
Expand Down Expand Up @@ -111,6 +112,7 @@ _S(105, "getitimer")
_S(106, "stat")
_S(107, "lstat")
_S(108, "fstat")
_S(110, "lookup_dcookie")
_S(111, "vhangup")
_S(112, "idle")
_S(114, "wait4")
Expand Down Expand Up @@ -177,8 +179,8 @@ _S(176, "rt_sigpending")
_S(177, "rt_sigtimedwait")
_S(178, "rt_sigqueueinfo")
_S(179, "rt_sigsuspend")
_S(180, "pread")
_S(181, "pwrite")
_S(180, "pread64")
_S(181, "pwrite64")
_S(182, "chown")
_S(183, "getcwd")
_S(184, "capget")
Expand Down Expand Up @@ -265,9 +267,9 @@ _S(264, "fadvise64_64")
_S(265, "statfs64")
_S(266, "fstatfs64")
_S(267, "remap_file_pages")
//_S(268, "")
//_S(269, "")
//_S(270, "")
_S(268, "mbind")
_S(269, "get_mempolicy")
_S(270, "set_mempolicy")
_S(271, "mq_open")
_S(272, "mq_unlink")
_S(273, "mq_timedsend")
Expand All @@ -284,7 +286,7 @@ _S(283, "ioprio_get")
_S(284, "inotify_init")
_S(285, "inotify_add_watch")
_S(286, "inotify_rm_watch")
//_S(287, "")
_S(287, "migrate_pages")
_S(288, "openat")
_S(289, "mkdirat")
_S(290, "mknodat")
Expand All @@ -307,7 +309,7 @@ _S(306, "splice")
_S(307, "sync_file_range")
_S(308, "tee")
_S(309, "vmsplice")
//_S(310, "")
_S(310, "move_pages")
_S(311, "getcpu")
_S(312, "epoll_pwait")
_S(313, "utimes")
Expand Down Expand Up @@ -375,6 +377,7 @@ _S(374, "mlock2")
_S(375, "copy_file_range")
_S(376, "preadv2")
_S(377, "pwritev2")
_S(378, "s390_guarded_storage")
_S(379, "statx")
_S(380, "s390_sthyi")
_S(381, "kexec_file_load")
Expand All @@ -383,6 +386,36 @@ _S(383, "rseq")
_S(384, "pkey_mprotect")
_S(385, "pkey_alloc")
_S(386, "pkey_free")
_S(393, "semget")
_S(394, "semctl")
_S(395, "shmget")
_S(396, "shmctl")
_S(397, "shmat")
_S(398, "shmdt")
_S(399, "msgget")
_S(400, "msgsnd")
_S(401, "msgrcv")
_S(402, "msgctl")
_S(403, "clock_gettime64")
_S(404, "clock_settime64")
_S(405, "clock_adjtime64")
_S(406, "clock_getres_time64")
_S(407, "clock_nanosleep_time64")
_S(408, "timer_gettime64")
_S(409, "timer_settime64")
_S(410, "timerfd_gettime64")
_S(411, "timerfd_settime64")
_S(412, "utimensat_time64")
_S(413, "pselect6_time64")
_S(414, "ppoll_time64")
_S(416, "io_pgetevents_time64")
_S(417, "recvmmsg_time64")
_S(418, "mq_timedsend_time64")
_S(419, "mq_timedreceive_time64")
_S(420, "semtimedop_time64")
_S(421, "rt_sigtimedwait_time64")
_S(422, "futex_time64")
_S(423, "sched_rr_get_interval_time64")
_S(424, "pidfd_send_signal")
_S(425, "io_uring_setup")
_S(426, "io_uring_enter")
Expand All @@ -406,6 +439,7 @@ _S(443, "quotactl_fd")
_S(444, "landlock_create_ruleset")
_S(445, "landlock_add_rule")
_S(446, "landlock_restrict_self")
_S(447, "memfd_secret")
_S(448, "process_mrelease")
_S(449, "futex_waitv")
_S(450, "set_mempolicy_home_node")
Expand Down
33 changes: 24 additions & 9 deletions lib/s390x_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ _S(3, "read")
_S(4, "write")
_S(5, "open")
_S(6, "close")
_S(7, "restart_syscall")
_S(8, "creat")
_S(9, "link")
_S(10, "unlink")
Expand Down Expand Up @@ -95,6 +96,7 @@ _S(105, "getitimer")
_S(106, "stat")
_S(107, "lstat")
_S(108, "fstat")
_S(110, "lookup_dcookie")
_S(111, "vhangup")
_S(112, "idle")
_S(114, "wait4")
Expand Down Expand Up @@ -154,8 +156,8 @@ _S(176, "rt_sigpending")
_S(177, "rt_sigtimedwait")
_S(178, "rt_sigqueueinfo")
_S(179, "rt_sigsuspend")
_S(180, "pread")
_S(181, "pwrite")
_S(180, "pread64")
_S(181, "pwrite64")
_S(183, "getcwd")
_S(184, "capget")
_S(185, "capset")
Expand Down Expand Up @@ -187,6 +189,7 @@ _S(216, "setfsgid")
_S(217, "pivot_root")
_S(218, "mincore")
_S(219, "madvise")
_S(220, "getdents64")
_S(222, "readahead")
_S(224, "setxattr")
_S(225, "lsetxattr")
Expand Down Expand Up @@ -229,9 +232,9 @@ _S(262, "clock_nanosleep")
_S(265, "statfs64")
_S(266, "fstatfs64")
_S(267, "remap_file_pages")
//_S(268, "")
//_S(269, "")
//_S(270, "")
_S(268, "mbind")
_S(269, "get_mempolicy")
_S(270, "set_mempolicy")
_S(271, "mq_open")
_S(272, "mq_unlink")
_S(273, "mq_timedsend")
Expand All @@ -248,7 +251,7 @@ _S(283, "ioprio_get")
_S(284, "inotify_init")
_S(285, "inotify_add_watch")
_S(286, "inotify_rm_watch")
//_S(287, "")
_S(287, "migrate_pages")
_S(288, "openat")
_S(289, "mkdirat")
_S(290, "mknodat")
Expand All @@ -271,7 +274,7 @@ _S(306, "splice")
_S(307, "sync_file_range")
_S(308, "tee")
_S(309, "vmsplice")
//_S(310, "")
_S(310, "move_pages")
_S(311, "getcpu")
_S(312, "epoll_pwait")
_S(313, "utimes")
Expand Down Expand Up @@ -299,7 +302,7 @@ _S(334, "prlimit64")
_S(335, "name_to_handle_at")
_S(336, "open_by_handle_at")
_S(337, "clock_adjtime")
_S(338, "syncfs")
_S(338, "syncfs")
_S(339, "setns")
_S(340, "process_vm_readv")
_S(341, "process_vm_writev")
Expand Down Expand Up @@ -339,6 +342,7 @@ _S(374, "mlock2")
_S(375, "copy_file_range")
_S(376, "preadv2")
_S(377, "pwritev2")
_S(378, "s390_guarded_storage")
_S(379, "statx")
_S(380, "s390_sthyi")
_S(381, "kexec_file_load")
Expand All @@ -347,6 +351,17 @@ _S(383, "rseq")
_S(384, "pkey_mprotect")
_S(385, "pkey_alloc")
_S(386, "pkey_free")
_S(392, "semtimedop")
_S(393, "semget")
_S(394, "semctl")
_S(395, "shmget")
_S(396, "shmctl")
_S(397, "shmat")
_S(398, "shmdt")
_S(399, "msgget")
_S(400, "msgsnd")
_S(401, "msgrcv")
_S(402, "msgctl")
_S(424, "pidfd_send_signal")
_S(425, "io_uring_setup")
_S(426, "io_uring_enter")
Expand All @@ -370,6 +385,7 @@ _S(443, "quotactl_fd")
_S(444, "landlock_create_ruleset")
_S(445, "landlock_add_rule")
_S(446, "landlock_restrict_self")
_S(447, "memfd_secret")
_S(448, "process_mrelease")
_S(449, "futex_waitv")
_S(450, "set_mempolicy_home_node")
Expand All @@ -385,4 +401,3 @@ _S(459, "lsm_get_self_attr")
_S(460, "lsm_set_self_attr")
_S(461, "lsm_list_modules")
_S(462, "mseal")

4 changes: 2 additions & 2 deletions lib/x86_64_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ _S(13, "rt_sigaction")
_S(14, "rt_sigprocmask")
_S(15, "rt_sigreturn")
_S(16, "ioctl")
_S(17, "pread")
_S(18, "pwrite")
_S(17, "pread64")
_S(18, "pwrite64")
_S(19, "readv")
_S(20, "writev")
_S(21, "access")
Expand Down