https://github.com/torvalds/linux
Revision a313f4c55d4952f2105fe33a4957ed858e998359 authored by Will Deacon on 08 November 2011, 04:51:19 UTC, committed by Benjamin Herrenschmidt on 17 November 2011, 05:41:10 UTC
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>
1 parent b97021f
Tip revision: a313f4c55d4952f2105fe33a4957ed858e998359 authored by Will Deacon on 08 November 2011, 04:51:19 UTC
powerpc/signal32: Fix sigset_t conversion when copying to user
powerpc/signal32: Fix sigset_t conversion when copying to user
Tip revision: a313f4c
File | Mode | Size |
---|---|---|
Kbuild | -rw-r--r-- | 61 bytes |
atmel_lcdc.h | -rw-r--r-- | 7.1 KB |
aty128.h | -rw-r--r-- | 13.2 KB |
broadsheetfb.h | -rw-r--r-- | 2.1 KB |
cirrus.h | -rw-r--r-- | 5.7 KB |
cvisionppc.h | -rw-r--r-- | 1.5 KB |
da8xx-fb.h | -rw-r--r-- | 2.2 KB |
edid.h | -rw-r--r-- | 284 bytes |
epson1355.h | -rw-r--r-- | 2.4 KB |
gbe.h | -rw-r--r-- | 10.5 KB |
hecubafb.h | -rw-r--r-- | 1.5 KB |
iga.h | -rw-r--r-- | 787 bytes |
ili9320.h | -rw-r--r-- | 5.8 KB |
kyro.h | -rw-r--r-- | 2.4 KB |
mach64.h | -rw-r--r-- | 47.1 KB |
maxinefb.h | -rw-r--r-- | 1.2 KB |
mbxfb.h | -rw-r--r-- | 2.1 KB |
metronomefb.h | -rw-r--r-- | 1.5 KB |
mipi_display.h | -rw-r--r-- | 4.1 KB |
neomagic.h | -rw-r--r-- | 4.9 KB |
newport.h | -rw-r--r-- | 18.6 KB |
omap-panel-dvi.h | -rw-r--r-- | 1.2 KB |
omap-panel-generic-dpi.h | -rw-r--r-- | 1.2 KB |
omap-panel-n8x0.h | -rw-r--r-- | 338 bytes |
omap-panel-nokia-dsi.h | -rw-r--r-- | 684 bytes |
omap-panel-picodlp.h | -rw-r--r-- | 590 bytes |
omapdss.h | -rw-r--r-- | 19.7 KB |
permedia2.h | -rw-r--r-- | 9.0 KB |
platform_lcd.h | -rw-r--r-- | 550 bytes |
pm3fb.h | -rw-r--r-- | 45.3 KB |
pmag-ba-fb.h | -rw-r--r-- | 1.0 KB |
pmagb-b-fb.h | -rw-r--r-- | 2.3 KB |
pxa168fb.h | -rw-r--r-- | 2.7 KB |
radeon.h | -rw-r--r-- | 109.2 KB |
s1d13xxxfb.h | -rw-r--r-- | 9.9 KB |
sgivw.h | -rw-r--r-- | 24.1 KB |
sh_mipi_dsi.h | -rw-r--r-- | 859 bytes |
sh_mobile_hdmi.h | -rw-r--r-- | 972 bytes |
sh_mobile_lcdc.h | -rw-r--r-- | 6.1 KB |
sh_mobile_meram.h | -rw-r--r-- | 1.7 KB |
sisfb.h | -rw-r--r-- | 7.7 KB |
sstfb.h | -rw-r--r-- | 11.0 KB |
tdfx.h | -rw-r--r-- | 5.3 KB |
tgafb.h | -rw-r--r-- | 6.9 KB |
trident.h | -rw-r--r-- | 3.2 KB |
udlfb.h | -rw-r--r-- | 2.7 KB |
uvesafb.h | -rw-r--r-- | 3.7 KB |
vga.h | -rw-r--r-- | 14.2 KB |
w100fb.h | -rw-r--r-- | 3.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...