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-- | 6.7 KB |
Makefile | -rw-r--r-- | 1.0 KB |
ebt_802_3.c | -rw-r--r-- | 1.8 KB |
ebt_among.c | -rw-r--r-- | 5.7 KB |
ebt_arp.c | -rw-r--r-- | 3.7 KB |
ebt_arpreply.c | -rw-r--r-- | 2.4 KB |
ebt_dnat.c | -rw-r--r-- | 1.6 KB |
ebt_ip.c | -rw-r--r-- | 3.3 KB |
ebt_limit.c | -rw-r--r-- | 2.9 KB |
ebt_log.c | -rw-r--r-- | 5.1 KB |
ebt_mark.c | -rw-r--r-- | 2.0 KB |
ebt_mark_m.c | -rw-r--r-- | 1.5 KB |
ebt_pkttype.c | -rw-r--r-- | 1.3 KB |
ebt_redirect.c | -rw-r--r-- | 1.9 KB |
ebt_snat.c | -rw-r--r-- | 2.1 KB |
ebt_stp.c | -rw-r--r-- | 5.0 KB |
ebt_ulog.c | -rw-r--r-- | 8.9 KB |
ebt_vlan.c | -rw-r--r-- | 5.9 KB |
ebtable_broute.c | -rw-r--r-- | 1.8 KB |
ebtable_filter.c | -rw-r--r-- | 2.5 KB |
ebtable_nat.c | -rw-r--r-- | 2.7 KB |
ebtables.c | -rw-r--r-- | 39.3 KB |
Computing file changes ...