Revision 598af051a79d05b751fe793f1fe09fcf74763e02 authored by Roland McGrath on 10 April 2008, 22:38:45 UTC, committed by Linus Torvalds on 11 April 2008, 00:28:26 UTC
Use asmlinkage_protect in sys_io_getevents, because GCC for i386 with
CONFIG_FRAME_POINTER=n can decide to clobber an argument word on the
stack, i.e. the user struct pt_regs.  Here the problem is not a tail
call, but just the compiler's use of the stack when it inlines and
optimizes the body of the called function.  This seems to avoid it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 54a0151
History
File Mode Size
CREDITS -rw-r--r-- 7.2 KB
URB.txt -rw-r--r-- 9.4 KB
acm.txt -rw-r--r-- 4.9 KB
auerswald.txt -rw-r--r-- 932 bytes
authorization.txt -rw-r--r-- 2.6 KB
dma.txt -rw-r--r-- 6.2 KB
ehci.txt -rw-r--r-- 9.6 KB
error-codes.txt -rw-r--r-- 5.9 KB
gadget_printer.txt -rw-r--r-- 10.7 KB
gadget_serial.txt -rw-r--r-- 12.3 KB
hiddev.txt -rw-r--r-- 8.9 KB
hotplug.txt -rw-r--r-- 6.3 KB
iuu_phoenix.txt -rw-r--r-- 2.7 KB
linux.inf -rw-r--r-- 6.2 KB
mtouchusb.txt -rw-r--r-- 2.8 KB
ohci.txt -rw-r--r-- 1.5 KB
persist.txt -rw-r--r-- 7.3 KB
power-management.txt -rw-r--r-- 23.0 KB
proc_usb_info.txt -rw-r--r-- 14.6 KB
rio.txt -rw-r--r-- 4.3 KB
uhci.txt -rw-r--r-- 7.2 KB
usb-help.txt -rw-r--r-- 495 bytes
usb-serial.txt -rw-r--r-- 18.1 KB
usbmon.txt -rw-r--r-- 13.8 KB

back to top