Adding missing syscalls to the syscall tables.

PiperOrigin-RevId: 599971082
Change-Id: Icbec577ccf30a3868e4ac6ec356c3544c3d86aab
This commit is contained in:
Sandboxed API Team 2024-01-19 16:45:34 -08:00 committed by Copybara-Service
parent 824d894822
commit 25cfb5ef03

View File

@ -481,6 +481,32 @@ constexpr std::array kSyscallDataX8664 = {
MakeEntry(333, "io_pgetevents", UnknownArguments()),
MakeEntry(334, "rseq", kHex, kInt, kHex, kHex),
MakeEntry(435, "clone3", kHex, kInt),
MakeEntry(436, "close_range", kInt, kInt, kHex),
MakeEntry(437, "openat2", kInt, kPath, kHex, kInt),
MakeEntry(438, "pidfd_getfd", UnknownArguments()),
MakeEntry(439, "faccessat2", kInt, kPath, kHex, kHex),
MakeEntry(440, "process_madvise", UnknownArguments()),
MakeEntry(441, "epoll_pwait2", UnknownArguments()),
MakeEntry(442, "mount_setattr", UnknownArguments()),
MakeEntry(443, "quotactl_fd", UnknownArguments()),
MakeEntry(444, "landlock_create_ruleset", UnknownArguments()),
MakeEntry(445, "landlock_add_rule", UnknownArguments()),
MakeEntry(446, "landlock_restrict_self", UnknownArguments()),
MakeEntry(447, "memfd_secret", UnknownArguments()),
MakeEntry(448, "process_mrelease", UnknownArguments()),
MakeEntry(449, "futex_waitv", UnknownArguments()),
MakeEntry(450, "set_mempolicy_home_node", UnknownArguments()),
MakeEntry(451, "cachestat", UnknownArguments()),
MakeEntry(452, "fchmodat2", kInt, kPath, kHex, kHex),
MakeEntry(453, "map_shadow_stack", UnknownArguments()),
MakeEntry(454, "futex_wake", UnknownArguments()),
MakeEntry(455, "futex_wait", UnknownArguments()),
MakeEntry(456, "futex_requeue", UnknownArguments()),
MakeEntry(457, "statmount", UnknownArguments()),
MakeEntry(458, "listmount", UnknownArguments()),
MakeEntry(459, "lsm_get_self_attr", UnknownArguments()),
MakeEntry(460, "lsm_set_self_attr", UnknownArguments()),
MakeEntry(461, "lsm_list_modules", UnknownArguments()),
// clang-format on
};
@ -848,6 +874,32 @@ constexpr std::array kSyscallDataX8632 = {
MakeEntry(356, "memfd_create", kString, kHex),
MakeEntry(357, "bpf", kInt, kHex, kInt),
MakeEntry(435, "clone3", kHex, kInt),
MakeEntry(436, "close_range", kInt, kInt, kHex),
MakeEntry(437, "openat2", kInt, kPath, kHex, kInt),
MakeEntry(438, "pidfd_getfd", UnknownArguments()),
MakeEntry(439, "faccessat2", kInt, kPath, kHex, kHex),
MakeEntry(440, "process_madvise", UnknownArguments()),
MakeEntry(441, "epoll_pwait2", UnknownArguments()),
MakeEntry(442, "mount_setattr", UnknownArguments()),
MakeEntry(443, "quotactl_fd", UnknownArguments()),
MakeEntry(444, "landlock_create_ruleset", UnknownArguments()),
MakeEntry(445, "landlock_add_rule", UnknownArguments()),
MakeEntry(446, "landlock_restrict_self", UnknownArguments()),
MakeEntry(447, "memfd_secret", UnknownArguments()),
MakeEntry(448, "process_mrelease", UnknownArguments()),
MakeEntry(449, "futex_waitv", UnknownArguments()),
MakeEntry(450, "set_mempolicy_home_node", UnknownArguments()),
MakeEntry(451, "cachestat", UnknownArguments()),
MakeEntry(452, "fchmodat2", kInt, kPath, kHex, kHex),
MakeEntry(453, "map_shadow_stack", UnknownArguments()),
MakeEntry(454, "futex_wake", UnknownArguments()),
MakeEntry(455, "futex_wait", UnknownArguments()),
MakeEntry(456, "futex_requeue", UnknownArguments()),
MakeEntry(457, "statmount", UnknownArguments()),
MakeEntry(458, "listmount", UnknownArguments()),
MakeEntry(459, "lsm_get_self_attr", UnknownArguments()),
MakeEntry(460, "lsm_set_self_attr", UnknownArguments()),
MakeEntry(461, "lsm_list_modules", UnknownArguments()),
// clang-format on
};
@ -1228,6 +1280,31 @@ constexpr std::array kSyscallDataPPC64LE = {
MakeEntry(380, "preadv2", kInt, kHex, kInt, kInt, kInt, kHex),
MakeEntry(381, "pwritev2", kInt, kHex, kInt, kInt, kInt, kHex),
MakeEntry(435, "clone3", kHex, kInt),
MakeEntry(436, "close_range", kInt, kInt, kHex),
MakeEntry(437, "openat2", kInt, kPath, kHex, kInt),
MakeEntry(438, "pidfd_getfd", UnknownArguments()),
MakeEntry(439, "faccessat2", kInt, kPath, kHex, kHex),
MakeEntry(440, "process_madvise", UnknownArguments()),
MakeEntry(441, "epoll_pwait2", UnknownArguments()),
MakeEntry(442, "mount_setattr", UnknownArguments()),
MakeEntry(443, "quotactl_fd", UnknownArguments()),
MakeEntry(444, "landlock_create_ruleset", UnknownArguments()),
MakeEntry(445, "landlock_add_rule", UnknownArguments()),
MakeEntry(446, "landlock_restrict_self", UnknownArguments()),
MakeEntry(448, "process_mrelease", UnknownArguments()),
MakeEntry(449, "futex_waitv", UnknownArguments()),
MakeEntry(450, "set_mempolicy_home_node", UnknownArguments()),
MakeEntry(451, "cachestat", UnknownArguments()),
MakeEntry(452, "fchmodat2", kInt, kPath, kHex, kHex),
MakeEntry(453, "map_shadow_stack", UnknownArguments()),
MakeEntry(454, "futex_wake", UnknownArguments()),
MakeEntry(455, "futex_wait", UnknownArguments()),
MakeEntry(456, "futex_requeue", UnknownArguments()),
MakeEntry(457, "statmount", UnknownArguments()),
MakeEntry(458, "listmount", UnknownArguments()),
MakeEntry(459, "lsm_get_self_attr", UnknownArguments()),
MakeEntry(460, "lsm_set_self_attr", UnknownArguments()),
MakeEntry(461, "lsm_list_modules", UnknownArguments()),
// clang-format on
};
@ -1510,6 +1587,31 @@ constexpr std::array kSyscallDataArm64 = {
MakeEntry(286, "preadv2", kInt, kHex, kInt, kInt, kInt, kHex),
MakeEntry(287, "pwritev2", kInt, kHex, kInt, kInt, kInt, kHex),
MakeEntry(435, "clone3", kHex, kInt),
MakeEntry(436, "close_range", kInt, kInt, kHex),
MakeEntry(437, "openat2", kInt, kPath, kHex, kInt),
MakeEntry(438, "pidfd_getfd", UnknownArguments()),
MakeEntry(439, "faccessat2", kInt, kPath, kHex, kHex),
MakeEntry(440, "process_madvise", UnknownArguments()),
MakeEntry(441, "epoll_pwait2", UnknownArguments()),
MakeEntry(442, "mount_setattr", UnknownArguments()),
MakeEntry(443, "quotactl_fd", UnknownArguments()),
MakeEntry(444, "landlock_create_ruleset", UnknownArguments()),
MakeEntry(445, "landlock_add_rule", UnknownArguments()),
MakeEntry(446, "landlock_restrict_self", UnknownArguments()),
MakeEntry(448, "process_mrelease", UnknownArguments()),
MakeEntry(449, "futex_waitv", UnknownArguments()),
MakeEntry(450, "set_mempolicy_home_node", UnknownArguments()),
MakeEntry(451, "cachestat", UnknownArguments()),
MakeEntry(452, "fchmodat2", kInt, kPath, kHex, kHex),
MakeEntry(453, "map_shadow_stack", UnknownArguments()),
MakeEntry(454, "futex_wake", UnknownArguments()),
MakeEntry(455, "futex_wait", UnknownArguments()),
MakeEntry(456, "futex_requeue", UnknownArguments()),
MakeEntry(457, "statmount", UnknownArguments()),
MakeEntry(458, "listmount", UnknownArguments()),
MakeEntry(459, "lsm_get_self_attr", UnknownArguments()),
MakeEntry(460, "lsm_set_self_attr", UnknownArguments()),
MakeEntry(461, "lsm_list_modules", UnknownArguments()),
// clang-format on
};
@ -1868,6 +1970,31 @@ constexpr std::array kSyscallDataArm32 = {
MakeEntry(400, "migrate_pages", kGen, kGen, kGen, kGen),
MakeEntry(401, "kexec_file_load", kInt, kInt, kInt, kString, kHex),
MakeEntry(435, "clone3", kHex, kInt),
MakeEntry(436, "close_range", kInt, kInt, kHex),
MakeEntry(437, "openat2", kInt, kPath, kHex, kInt),
MakeEntry(438, "pidfd_getfd", UnknownArguments()),
MakeEntry(439, "faccessat2", kInt, kPath, kHex, kHex),
MakeEntry(440, "process_madvise", UnknownArguments()),
MakeEntry(441, "epoll_pwait2", UnknownArguments()),
MakeEntry(442, "mount_setattr", UnknownArguments()),
MakeEntry(443, "quotactl_fd", UnknownArguments()),
MakeEntry(444, "landlock_create_ruleset", UnknownArguments()),
MakeEntry(445, "landlock_add_rule", UnknownArguments()),
MakeEntry(446, "landlock_restrict_self", UnknownArguments()),
MakeEntry(448, "process_mrelease", UnknownArguments()),
MakeEntry(449, "futex_waitv", UnknownArguments()),
MakeEntry(450, "set_mempolicy_home_node", UnknownArguments()),
MakeEntry(451, "cachestat", UnknownArguments()),
MakeEntry(452, "fchmodat2", kInt, kPath, kHex, kHex),
MakeEntry(453, "map_shadow_stack", UnknownArguments()),
MakeEntry(454, "futex_wake", UnknownArguments()),
MakeEntry(455, "futex_wait", UnknownArguments()),
MakeEntry(456, "futex_requeue", UnknownArguments()),
MakeEntry(457, "statmount", UnknownArguments()),
MakeEntry(458, "listmount", UnknownArguments()),
MakeEntry(459, "lsm_get_self_attr", UnknownArguments()),
MakeEntry(460, "lsm_set_self_attr", UnknownArguments()),
MakeEntry(461, "lsm_list_modules", UnknownArguments()),
MakeEntry(0xf0001, "ARM_breakpoint", kHex, kHex, kHex, kHex),
MakeEntry(0xf0002, "ARM_cacheflush", kHex, kHex, kHex, kHex),
MakeEntry(0xf0003, "ARM_usr26", kHex, kHex, kHex, kHex),