123456789101112131415161718192021222324252627282930313233343536373839 |
- #include <pthreadP.h>
- #include <signal.h>
- extern __typeof(sigaction) __libc_sigaction;
- int
- __sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
- {
- if (unlikely (sig == SIGCANCEL || sig == SIGSETXID))
- {
- __set_errno (EINVAL);
- return -1;
- }
- return __libc_sigaction (sig, act, oact);
- }
- libc_hidden_proto(sigaction)
- weak_alias (__sigaction, sigaction)
- libc_hidden_weak(sigaction)
|