mirror of https://gitee.com/openkylin/linux.git
5ad18b2e60
Pull force_sig() argument change from Eric Biederman: "A source of error over the years has been that force_sig has taken a task parameter when it is only safe to use force_sig with the current task. The force_sig function is built for delivering synchronous signals such as SIGSEGV where the userspace application caused a synchronous fault (such as a page fault) and the kernel responded with a signal. Because the name force_sig does not make this clear, and because the force_sig takes a task parameter the function force_sig has been abused for sending other kinds of signals over the years. Slowly those have been fixed when the oopses have been tracked down. This set of changes fixes the remaining abusers of force_sig and carefully rips out the task parameter from force_sig and friends making this kind of error almost impossible in the future" * 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (27 commits) signal/x86: Move tsk inside of CONFIG_MEMORY_FAILURE in do_sigbus signal: Remove the signal number and task parameters from force_sig_info signal: Factor force_sig_info_to_task out of force_sig_info signal: Generate the siginfo in force_sig signal: Move the computation of force into send_signal and correct it. signal: Properly set TRACE_SIGNAL_LOSE_INFO in __send_signal signal: Remove the task parameter from force_sig_fault signal: Use force_sig_fault_to_task for the two calls that don't deliver to current signal: Explicitly call force_sig_fault on current signal/unicore32: Remove tsk parameter from __do_user_fault signal/arm: Remove tsk parameter from __do_user_fault signal/arm: Remove tsk parameter from ptrace_break signal/nds32: Remove tsk parameter from send_sigtrap signal/riscv: Remove tsk parameter from do_trap signal/sh: Remove tsk parameter from force_sig_info_fault signal/um: Remove task parameter from send_sigtrap signal/x86: Remove task parameter from send_sigtrap signal: Remove task parameter from force_sig_mceerr signal: Remove task parameter from force_sig signal: Remove task parameter from force_sigsegv ... |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
cnv_float.h | ||
dbl_float.h | ||
decode_exc.c | ||
denormal.c | ||
dfadd.c | ||
dfcmp.c | ||
dfdiv.c | ||
dfmpy.c | ||
dfrem.c | ||
dfsqrt.c | ||
dfsub.c | ||
driver.c | ||
fcnvff.c | ||
fcnvfu.c | ||
fcnvfut.c | ||
fcnvfx.c | ||
fcnvfxt.c | ||
fcnvuf.c | ||
fcnvxf.c | ||
float.h | ||
fmpyfadd.c | ||
fpbits.h | ||
fpu.h | ||
fpudispatch.c | ||
frnd.c | ||
hppa.h | ||
math-emu.h | ||
sfadd.c | ||
sfcmp.c | ||
sfdiv.c | ||
sfmpy.c | ||
sfrem.c | ||
sfsqrt.c | ||
sfsub.c | ||
sgl_float.h |
README
All files except driver.c are snapshots from the HP-UX kernel. They've been modified as little as possible. Even though they don't fit the Linux coding style, please leave them in their funny format just in case someone in the future, with access to HP-UX source code, is generous enough to update our copies with later changes from HP-UX -- it'll make their 'diff' job easier if our code is relatively unmodified. Required Disclaimer: Hewlett-Packard makes no implied or expressed warranties about this code nor any promises to maintain or test it in any way. This copy of this snapshot is no longer the property of Hewlett-Packard.