Skip to content

Commit 1ce90e2

Browse files
committed
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.
1 parent cb6cfae commit 1ce90e2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/arm_table.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ _S(266, "statfs64")
256256
_S(267, "fstatfs64")
257257
_S(268, "tgkill")
258258
_S(269, "utimes")
259-
_S(270, "arm_fadvise64_64")
259+
// originally arm_fadvise64_64, but let's maintain common naming
260+
_S(270, "fadvise64_64")
260261
_S(271, "pciconfig_iobase")
261262
_S(272, "pciconfig_read")
262263
_S(273, "pciconfig_write")
@@ -327,7 +328,8 @@ _S(337, "unshare")
327328
_S(338, "set_robust_list")
328329
_S(339, "get_robust_list")
329330
_S(340, "splice")
330-
_S(341, "arm_sync_file_range")
331+
// originally arm_sync_file_range, but let's maintain common naming
332+
_S(341, "sync_file_range")
331333
_S(342, "tee")
332334
_S(343, "vmsplice")
333335
_S(344, "move_pages")
@@ -446,4 +448,3 @@ _S(459, "lsm_get_self_attr")
446448
_S(460, "lsm_set_self_attr")
447449
_S(461, "lsm_list_modules")
448450
_S(462, "mseal")
449-

0 commit comments

Comments
 (0)