sigretrun --> sigreturn

This commit is contained in:
StanPlatinum
2024-04-09 10:08:39 +00:00
committed by Tate, Hongliang Tian
parent 63be797c2d
commit e4fd51bc6f
2 changed files with 5 additions and 5 deletions

View File

@ -249,7 +249,7 @@ define_syscall_nums!(
SYS_BRK = 12,
SYS_RT_SIGACTION = 13,
SYS_RT_SIGPROCMASK = 14,
SYS_RT_SIGRETRUN = 15,
SYS_RT_SIGRETURN = 15,
SYS_IOCTL = 16,
SYS_PREAD64 = 17,
SYS_WRITEV = 20,
@ -437,7 +437,7 @@ pub fn syscall_dispatch(
SYS_BRK => syscall_handler!(1, sys_brk, args),
SYS_RT_SIGACTION => syscall_handler!(4, sys_rt_sigaction, args),
SYS_RT_SIGPROCMASK => syscall_handler!(4, sys_rt_sigprocmask, args),
SYS_RT_SIGRETRUN => syscall_handler!(0, sys_rt_sigreturn, context),
SYS_RT_SIGRETURN => syscall_handler!(0, sys_rt_sigreturn, context),
SYS_IOCTL => syscall_handler!(3, sys_ioctl, args),
SYS_PREAD64 => syscall_handler!(4, sys_pread64, args),
SYS_WRITEV => syscall_handler!(3, sys_writev, args),