forked from Minki/linux
signal: Remove unused definition of sig_user_definied
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
2caeda7e6a
commit
d27158c0cf
@ -390,10 +390,6 @@ int unhandled_signal(struct task_struct *tsk, int sig);
|
||||
#define sig_kernel_ignore(sig) siginmask(sig, SIG_KERNEL_IGNORE_MASK)
|
||||
#define sig_kernel_stop(sig) siginmask(sig, SIG_KERNEL_STOP_MASK)
|
||||
|
||||
#define sig_user_defined(t, signr) \
|
||||
(((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \
|
||||
((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN))
|
||||
|
||||
#define sig_fatal(t, signr) \
|
||||
(!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \
|
||||
(t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
|
||||
|
Loading…
Reference in New Issue
Block a user