consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2012-11-25 22:24:19 -05:00
parent 92a3ce4a1e
commit 574c4866e3
26 changed files with 48 additions and 81 deletions

View file

@ -97,12 +97,14 @@ struct old_sigaction {
__sigrestore_t sa_restorer;
};
#ifndef __KERNEL__
struct sigaction {
__sighandler_t sa_handler;
unsigned long sa_flags;
__sigrestore_t sa_restorer;
sigset_t sa_mask; /* mask last for extensibility */
};
#endif
typedef struct sigaltstack {
void __user *ss_sp;