summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel_sigaction.h
blob: 2dbec08099345c74b37acc93547af1e142a45815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _KERNEL_SIGACTION_H
# define _KERNEL_SIGACTION_H

/* This is the sigaction structure from the Linux 3.2 kernel.  */
struct kernel_sigaction
{
  __sighandler_t k_sa_handler;
  unsigned long sa_flags;
#ifdef SA_RESTORER
  void (*sa_restorer) (void);
#endif
  sigset_t sa_mask;
};

#ifndef SA_RESTORER
# define SET_SA_RESTORER(kact, act)
# define RESET_SA_RESTORER(act, kact)
#endif

#endif