forked from Minki/linux
signal: Pair exports with their functions
For readability and consistency with the other exports in kernel/signal.c pair the exports of signal sending functions with their functions, instead of having the exports in one big clump. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
b21c5bd562
commit
fb50f5a401
@ -176,6 +176,7 @@ void recalc_sigpending(void)
|
||||
clear_thread_flag(TIF_SIGPENDING);
|
||||
|
||||
}
|
||||
EXPORT_SYMBOL(recalc_sigpending);
|
||||
|
||||
void calculate_sigpending(void)
|
||||
{
|
||||
@ -466,6 +467,7 @@ void flush_signals(struct task_struct *t)
|
||||
flush_sigqueue(&t->signal->shared_pending);
|
||||
spin_unlock_irqrestore(&t->sighand->siglock, flags);
|
||||
}
|
||||
EXPORT_SYMBOL(flush_signals);
|
||||
|
||||
#ifdef CONFIG_POSIX_TIMERS
|
||||
static void __flush_itimer_signals(struct sigpending *pending)
|
||||
@ -684,6 +686,7 @@ int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info)
|
||||
#endif
|
||||
return signr;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dequeue_signal);
|
||||
|
||||
/*
|
||||
* Tell a process that it has a new active signal..
|
||||
@ -1490,6 +1493,7 @@ int send_sig_info(int sig, struct siginfo *info, struct task_struct *p)
|
||||
|
||||
return do_send_sig_info(sig, info, p, PIDTYPE_PID);
|
||||
}
|
||||
EXPORT_SYMBOL(send_sig_info);
|
||||
|
||||
#define __si_special(priv) \
|
||||
((priv) ? SEND_SIG_PRIV : SEND_SIG_NOINFO)
|
||||
@ -1499,11 +1503,13 @@ send_sig(int sig, struct task_struct *p, int priv)
|
||||
{
|
||||
return send_sig_info(sig, __si_special(priv), p);
|
||||
}
|
||||
EXPORT_SYMBOL(send_sig);
|
||||
|
||||
void force_sig(int sig, struct task_struct *p)
|
||||
{
|
||||
force_sig_info(sig, SEND_SIG_PRIV, p);
|
||||
}
|
||||
EXPORT_SYMBOL(force_sig);
|
||||
|
||||
/*
|
||||
* When things go south during signal handling, we
|
||||
@ -2634,14 +2640,6 @@ out:
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(recalc_sigpending);
|
||||
EXPORT_SYMBOL_GPL(dequeue_signal);
|
||||
EXPORT_SYMBOL(flush_signals);
|
||||
EXPORT_SYMBOL(force_sig);
|
||||
EXPORT_SYMBOL(send_sig);
|
||||
EXPORT_SYMBOL(send_sig_info);
|
||||
EXPORT_SYMBOL(sigprocmask);
|
||||
|
||||
/*
|
||||
* System call entry points.
|
||||
*/
|
||||
@ -2735,6 +2733,7 @@ int sigprocmask(int how, sigset_t *set, sigset_t *oldset)
|
||||
__set_current_blocked(&newset);
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(sigprocmask);
|
||||
|
||||
/**
|
||||
* sys_rt_sigprocmask - change the list of currently blocked signals
|
||||
|
Loading…
Reference in New Issue
Block a user