diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-11 09:02:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-11 09:02:22 +0100 |
commit | d1b81113b43a6d26dec4e0e58a380895d121006e (patch) | |
tree | ac5992c861b8f24c08ed5d9eecdff42ad4d52d32 | |
parent | 507f795a5969fcba5196236e706aecab5ee91dd9 (diff) |
Revert "fix tst-signal7 failure"
This reverts commit ea21c7610aa1131b37a4533cf13dd89f727fb83f.
This was accidently pushed, before first coffee.
Sorry this is a bad commit.
-rw-r--r-- | libc/signal/sigaction.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index 0a0299831..256064725 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -25,11 +25,6 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) { - if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) { - __set_errno (EINVAL); - return -1; - } - /* NB: kernel (as of 2.6.25) will return EINVAL * if sizeof(act->sa_mask) does not match kernel's sizeof(sigset_t). * Try to catch this problem at uclibc build time: */ @@ -53,11 +48,6 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) int result; struct old_kernel_sigaction kact, koact; - if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) { - __set_errno (EINVAL); - return -1; - } - if (act) { kact.k_sa_handler = act->sa_handler; kact.sa_mask = act->sa_mask.__val[0]; |