From 9c1d51a1f2cebb991cf4365287c7231f9d9ce597 Mon Sep 17 00:00:00 2001 From: sfx Date: Mon, 26 Feb 2024 03:51:24 -0800 Subject: [PATCH] bug fix for %read --- user/config/config_module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/config/config_module.go b/user/config/config_module.go index c0143d1..3beade3 100644 --- a/user/config/config_module.go +++ b/user/config/config_module.go @@ -584,7 +584,7 @@ func (this *SyscallConfig) Parse_SyscallNames(text string) []string { syscall_items = append(syscall_items, []string{"recvfrom", "recvmsg", "recvmmsg"}...) case "%read": syscall_items = append(syscall_items, []string{"read", "readv"}...) - syscall_items = append(syscall_items, []string{"pread64", "preadv", "pread2"}...) + syscall_items = append(syscall_items, []string{"pread64", "preadv", "preadv2"}...) case "%write": syscall_items = append(syscall_items, []string{"write", "writev"}...) syscall_items = append(syscall_items, []string{"pwrite64", "pwritev", "pwritev2"}...)