From 8d26922c75ec12c86b8fcb35102ad65d5b4b1776 Mon Sep 17 00:00:00 2001 From: Chih-En Lin Date: Sat, 5 Oct 2024 02:22:19 -0400 Subject: [PATCH] TMP --- examples/syscall-steal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/syscall-steal.c b/examples/syscall-steal.c index e0d5bd38..4b4fa3dd 100644 --- a/examples/syscall-steal.c +++ b/examples/syscall-steal.c @@ -251,8 +251,10 @@ static int __init syscall_steal_start(void) return err; } #else - if (!(sys_call_table_stolen = acquire_sys_call_table())) - return -1; + if (!(sys_call_table_stolen = acquire_sys_call_table())) { + pr_err("Cannot ge the sys_call_table\n"); + return 0; + } disable_write_protection();