OSDN Git Service

signal: Factor force_sig_info_to_task out of force_sig_info
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 7 Feb 2019 17:01:20 +0000 (11:01 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 29 May 2019 14:31:44 +0000 (09:31 -0500)
commit59c0e696a6c0fe6a8d718a43aecd72347db6a7f0
treee6f276044eac6c0c84e59a058f6879cb953aaf62
parentffafd23b2cf14093b559c3e33b427058ce8aa577
signal: Factor force_sig_info_to_task out of force_sig_info

All callers of force_sig_info pass info.si_signo in for the signal
by definition as well as in practice.

Further all callers of force_sig_info except force_sig_fault_to_task
pass current as the target task to force_sig_info.

Factor out a static force_sig_info_to_task that
force_sig_fault_to_task can call.

This prepares the way for force_sig_info to have it's task and signal
parameters removed.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/signal.c