diff options
author | Will Deacon <will.deacon@arm.com> | 2011-11-08 05:51:19 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-17 06:41:10 +0100 |
commit | a313f4c55d4952f2105fe33a4957ed858e998359 (patch) | |
tree | 47407c308ae32035d0d46c07269a7e047236fffa /drivers/virt | |
parent | powerpc: Fix atomic_xxx_return barrier semantics (diff) | |
download | linux-a313f4c55d4952f2105fe33a4957ed858e998359.tar.xz linux-a313f4c55d4952f2105fe33a4957ed858e998359.zip |
powerpc/signal32: Fix sigset_t conversion when copying to user
On PPC64, put_sigset_t converts a sigset_t to a compat_sigset_t
before copying it to userspace. There is a typo in the case that
we have 4 words to copy, meaning that we corrupt the compat_sigset_t.
It appears that _NSIG_WORDS can't be greater than 2 at the moment
so this code is probably always optimised away anyway.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions