summaryrefslogtreecommitdiffstats
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorEric W. Biederman2019-02-07 18:01:20 +0100
committerEric W. Biederman2019-05-29 16:31:44 +0200
commit59c0e696a6c0fe6a8d718a43aecd72347db6a7f0 (patch)
treee6f276044eac6c0c84e59a058f6879cb953aaf62 /kernel/seccomp.c
parentsignal: Generate the siginfo in force_sig (diff)
downloadkernel-qcow2-linux-59c0e696a6c0fe6a8d718a43aecd72347db6a7f0.tar.gz
kernel-qcow2-linux-59c0e696a6c0fe6a8d718a43aecd72347db6a7f0.tar.xz
kernel-qcow2-linux-59c0e696a6c0fe6a8d718a43aecd72347db6a7f0.zip
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>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions