--- linux-user/signal.c 2005-04-27 09:44:53.534806341 +0300 +++ linux-user/signal.c 2005-04-27 09:42:52.325180111 +0300 @@ -417,6 +417,11 @@ if (sig < 1 || sig > TARGET_NSIG) return -EINVAL; + + /* no point doing the stuff as those are not allowed for sigaction */ + if ((sig == TARGET_SIGKILL) || (sig == TARGET_SIGSTOP)) + return -EINVAL; + k = &sigact_table[sig - 1]; #if defined(DEBUG_SIGNAL) fprintf(stderr, "sigaction sig=%d act=0x%08x, oact=0x%08x\n",