blob: 6039574a3570429709750381c9fdfd2868920a41 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "asm/unistd_64.h" // for __NR_rt_sigaction
#include <signal.h> // for sigaction, sigset_t
#include <syscall.h> // for __syscall_4, syscall
int sigaction(int sig, const struct sigaction *restrict act,
struct sigaction *restrict oact)
{
return syscall(rt_sigaction, sig, act, oact, sizeof(sigset_t));
}
|