Skip to content

Commit

Permalink
Update prog_array.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 authored Aug 15, 2024
1 parent cb47c0d commit 68c6d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/bpf_map/userspace/prog_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// syscall() function was hooked by syscall server, direct call to it will lead
// to a result provided by bpftime. So if we want to get things from kernel, we
// must manually execute `syscall` from libc
// must manually execute `syscall` from libc
static void *libc_handle = dlopen(LIBC_SO, RTLD_LAZY);
static auto libc_syscall =
reinterpret_cast<decltype(&::syscall)>(dlsym(libc_handle, "syscall"));
Expand Down

0 comments on commit 68c6d5e

Please sign in to comment.