fix: differences in behavior of sigaction between Linux and Mckernel

This commit is contained in:
Ken Sato
2018-03-01 09:44:44 +09:00
parent 7ad6f9595c
commit 140f813d77
3 changed files with 12 additions and 2 deletions

View File

@@ -143,8 +143,6 @@ SYSCALL_DECLARE(rt_sigaction)
struct k_sigaction new_sa, old_sa;
int rc;
if(sig == SIGKILL || sig == SIGSTOP || sig <= 0 || sig > 64)
return -EINVAL;
if (sigsetsize != sizeof(sigset_t))
return -EINVAL;