diff --git a/kernel/seccomp.c b/kernel/seccomp.c index 57d4b13..29deaf8 100644 --- a/kernel/seccomp.c +++ b/kernel/seccomp.c @@ -54,6 +54,7 @@ void __secure_computing(int this_syscall) #ifdef SECCOMP_DEBUG dump_stack(); #endif + printk(KERN_ERR "Killing %d due to bad seccomp syscall %d\n", (int)current->pid, (int)this_syscall); do_exit(SIGKILL); }