aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-memory-errors.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2018-01-22 20:58:57 +0000
committerEric W. Biederman <[email protected]>2018-01-23 01:07:08 +0000
commit5f74972ce69fdc6473f74253283408af75a3be15 (patch)
tree0353784ed4e95a7a32e159ba9b66d1f697317680 /arch/powerpc/platforms/powernv/opal-memory-errors.c
parentsignal/arm64: Better isolate the COMPAT_TASK portion of ptrace_hbptriggered (diff)
downloadkernel-5f74972ce69fdc6473f74253283408af75a3be15.tar.gz
kernel-5f74972ce69fdc6473f74253283408af75a3be15.zip
signal: Don't use structure initializers for struct siginfo
The siginfo structure has all manners of holes with the result that a structure initializer is not guaranteed to initialize all of the bits. As we have to copy the structure to userspace don't even try to use a structure initializer. Instead use clear_siginfo followed by initializing selected fields. This gives a guarantee that uninitialized kernel memory is not copied to userspace. Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
0 files changed, 0 insertions, 0 deletions