Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion kernel/patch/common/supercall.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,13 @@ int supercall_install()

hook_err_t err = hook_syscalln(__NR_supercall, 6, before, 0, 0);
if (err) {
log_boot("install supercall hook error: %d\n", err);
log_boot("install supercall 64-bit hook error: %d\n", err);
rc = err;
goto out;
}
err = hook_compat_syscalln(92, 6, before, 0, 0); // __NR_truncate == __NR_supercall for 32-bit
if (err) {
log_boot("install supercall 32-bit hook error: %d\n", err);
rc = err;
goto out;
}
Expand Down