From 5015b8f4980c29c3f9534bad7e35ea6aa234ff46 Mon Sep 17 00:00:00 2001 From: officeyutong Date: Wed, 28 Aug 2024 21:36:30 +0800 Subject: [PATCH] update --- runtime/syscall-server/syscall_context.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/syscall-server/syscall_context.hpp b/runtime/syscall-server/syscall_context.hpp index c20e4b4d..a1300e1a 100644 --- a/runtime/syscall-server/syscall_context.hpp +++ b/runtime/syscall-server/syscall_context.hpp @@ -96,6 +96,7 @@ class syscall_context { (mmap_fn)dlsym(RTLD_NEXT, "mmap"); orig_openat_fn = (openat_fn)dlsym(RTLD_NEXT, "openat"); orig_open_fn = (open_fn)dlsym(RTLD_NEXT, "open"); + orig_read_fn = (read_fn)dlsym(RTLD_NEXT, "read"); orig_fopen_fn = (fopen_fn)dlsym(RTLD_NEXT, "fopen"); // To avoid polluting other child processes,