diff --git a/kernel/signal.c b/kernel/signal.c index b65879d4e08f..d7c7f3cd4da8 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -423,7 +423,7 @@ static void collect_signal(int sig, struct sigpending *list, siginfo_t *info) */ info->si_signo = sig; info->si_errno = 0; - info->si_code = 0; + info->si_code = SI_USER; info->si_pid = 0; info->si_uid = 0; }