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
File | Mode | Size |
---|---|---|
ccids | ||
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 533 bytes |
ackvec.c | -rw-r--r-- | 13.3 KB |
ackvec.h | -rw-r--r-- | 4.3 KB |
ccid.c | -rw-r--r-- | 5.9 KB |
ccid.h | -rw-r--r-- | 7.0 KB |
dccp.h | -rw-r--r-- | 14.4 KB |
diag.c | -rw-r--r-- | 1.8 KB |
feat.c | -rw-r--r-- | 15.7 KB |
feat.h | -rw-r--r-- | 1.3 KB |
input.c | -rw-r--r-- | 21.2 KB |
ipv4.c | -rw-r--r-- | 27.2 KB |
ipv6.c | -rw-r--r-- | 31.5 KB |
ipv6.h | -rw-r--r-- | 822 bytes |
minisocks.c | -rw-r--r-- | 9.0 KB |
options.c | -rw-r--r-- | 16.0 KB |
output.c | -rw-r--r-- | 16.8 KB |
probe.c | -rw-r--r-- | 4.9 KB |
proto.c | -rw-r--r-- | 27.7 KB |
sysctl.c | -rw-r--r-- | 3.0 KB |
timer.c | -rw-r--r-- | 8.2 KB |
Computing file changes ...