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
netfilter
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 417 bytes
br.c -rw-r--r-- 1.9 KB
br_device.c -rw-r--r-- 3.9 KB
br_fdb.c -rw-r--r-- 9.8 KB
br_forward.c -rw-r--r-- 3.2 KB
br_if.c -rw-r--r-- 8.9 KB
br_input.c -rw-r--r-- 4.0 KB
br_ioctl.c -rw-r--r-- 9.1 KB
br_netfilter.c -rw-r--r-- 27.1 KB
br_netlink.c -rw-r--r-- 4.9 KB
br_notify.c -rw-r--r-- 2.3 KB
br_private.h -rw-r--r-- 7.7 KB
br_private_stp.h -rw-r--r-- 1.7 KB
br_stp.c -rw-r--r-- 10.7 KB
br_stp_bpdu.c -rw-r--r-- 5.4 KB
br_stp_if.c -rw-r--r-- 7.1 KB
br_stp_timer.c -rw-r--r-- 4.6 KB
br_sysfs_br.c -rw-r--r-- 12.0 KB
br_sysfs_if.c -rw-r--r-- 6.4 KB

back to top