From 1ce90e2189c87aa3e1eaae137a236adf340f3e2d Mon Sep 17 00:00:00 2001 From: Cropi Date: Fri, 4 Oct 2024 10:37:51 +0200 Subject: [PATCH] Maintain consistent syscall naming across arm architecture ARM uses unique naming conventions for certain syscalls, but we should avoid adopting these. Specifically, fadvise64_64 will not be renamed to arm_fadvise64_64, and sync_file_range will not be renamed to arm_sync_file_range. This ensures uniform naming for the same syscalls across different architectures. --- lib/arm_table.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/arm_table.h b/lib/arm_table.h index 02573466e..4a50fc9a4 100644 --- a/lib/arm_table.h +++ b/lib/arm_table.h @@ -256,7 +256,8 @@ _S(266, "statfs64") _S(267, "fstatfs64") _S(268, "tgkill") _S(269, "utimes") -_S(270, "arm_fadvise64_64") +// originally arm_fadvise64_64, but let's maintain common naming +_S(270, "fadvise64_64") _S(271, "pciconfig_iobase") _S(272, "pciconfig_read") _S(273, "pciconfig_write") @@ -327,7 +328,8 @@ _S(337, "unshare") _S(338, "set_robust_list") _S(339, "get_robust_list") _S(340, "splice") -_S(341, "arm_sync_file_range") +// 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") @@ -446,4 +448,3 @@ _S(459, "lsm_get_self_attr") _S(460, "lsm_set_self_attr") _S(461, "lsm_list_modules") _S(462, "mseal") -