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 |
---|---|---|
Kconfig | -rw-r--r-- | 2.6 KB |
Makefile | -rw-r--r-- | 497 bytes |
associola.c | -rw-r--r-- | 42.9 KB |
auth.c | -rw-r--r-- | 23.7 KB |
bind_addr.c | -rw-r--r-- | 12.6 KB |
chunk.c | -rw-r--r-- | 8.3 KB |
command.c | -rw-r--r-- | 2.4 KB |
debug.c | -rw-r--r-- | 4.5 KB |
endpointola.c | -rw-r--r-- | 12.9 KB |
input.c | -rw-r--r-- | 29.0 KB |
inqueue.c | -rw-r--r-- | 6.9 KB |
ipv6.c | -rw-r--r-- | 28.4 KB |
objcnt.c | -rw-r--r-- | 4.2 KB |
output.c | -rw-r--r-- | 21.6 KB |
outqueue.c | -rw-r--r-- | 51.2 KB |
primitive.c | -rw-r--r-- | 7.6 KB |
proc.c | -rw-r--r-- | 10.5 KB |
protocol.c | -rw-r--r-- | 36.4 KB |
sm_make_chunk.c | -rw-r--r-- | 95.6 KB |
sm_sideeffect.c | -rw-r--r-- | 43.7 KB |
sm_statefuns.c | -rw-r--r-- | 185.3 KB |
sm_statetable.c | -rw-r--r-- | 33.5 KB |
socket.c | -rw-r--r-- | 183.7 KB |
ssnmap.c | -rw-r--r-- | 3.4 KB |
sysctl.c | -rw-r--r-- | 7.6 KB |
transport.c | -rw-r--r-- | 17.9 KB |
tsnmap.c | -rw-r--r-- | 10.4 KB |
ulpevent.c | -rw-r--r-- | 29.5 KB |
ulpqueue.c | -rw-r--r-- | 27.9 KB |
Computing file changes ...