linux/arch/powerpc/platforms/cell
Eric W. Biederman 3eb0f5193b signal: Ensure every siginfo we send has all bits initialized
Call clear_siginfo to ensure every stack allocated siginfo is properly
initialized before being passed to the signal sending functions.

Note: It is not safe to depend on C initializers to initialize struct
siginfo on the stack because C is allowed to skip holes when
initializing a structure.

The initialization of struct siginfo in tracehook_report_syscall_exit
was moved from the helper user_single_step_siginfo into
tracehook_report_syscall_exit itself, to make it clear that the local
variable siginfo gets fully initialized.

In a few cases the scope of struct siginfo has been reduced to make it
clear that siginfo siginfo is not used on other paths in the function
in which it is declared.

Instances of using memset to initialize siginfo have been replaced
with calls clear_siginfo for clarity.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:40:51 -05:00
..
spufs signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
axon_msi.c powerpc: Use sizeof(*foo) rather than sizeof(struct foo) 2018-03-20 16:47:53 +11:00
cbe_powerbutton.c
cbe_regs.c
cbe_thermal.c
cell.h
cpufreq_spudemand.c
interrupt.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
interrupt.h
iommu.c powerpc: rename dma_direct_ to dma_nommu_ 2018-01-10 16:41:14 +01:00
Kconfig
Makefile
pervasive.c
pervasive.h
pmu.c
ras.c
ras.h
setup.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
smp.c powerpc/64: Use array of paca pointers and allocate pacas individually 2018-03-30 23:34:23 +11:00
spider-pci.c powerpc: Use sizeof(*foo) rather than sizeof(struct foo) 2018-03-20 16:47:53 +11:00
spider-pic.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
spu_base.c
spu_callbacks.c
spu_manage.c powerpc: make use of for_each_node_by_type() instead of open-coding it 2018-01-16 23:47:10 +11:00
spu_notify.c
spu_priv1_mmio.c
spu_priv1_mmio.h
spu_syscalls.c