Re: [4KSTACK][2.6.6] Stack overflow in radeonfb

From: Andrew Morton
Date: Fri May 14 2004 - 19:10:21 EST


Chris Wright <chrisw@xxxxxxxx> wrote:
>
> * Andrew Morton (akpm@xxxxxxxx) wrote:
> > Well find . -name '*.o' -a -not -name '*.mod.o' would fix that up but the
> > dupes are coming from the intermediate .o files which the build system
> > prepares. sound/core/snd.o contains sound/core/snd-pcm.o contains
> > sound/core/pcm_native.o.
>
> i wonder if limiting to vmlinux and .ko's would be clean?

Seems to work.

.PHONY: checkstack
checkstack:
$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
$(PERL) scripts/checkstack.pl $(ARCH)

But we still get a little bit of misparsing:

0xc01e37a0 sys_semtimedop: sub $0x1d4,%esp
0xc01d1d0f do_udf_readdir: sub $0x1cc,%esp
0xc01bbc0c nfs_writepage_sync: sub $0x1b8,%esp
0xc02d79c4 snd_mixer_oss_build_input: sub $0x1a4,%esp
0xc031c7ec ip_getsockopt: sub $0x194,%esp
0xc04c5dc0 snd_seq_oss_midi_lookup_ports: sub $0x190,%esp
0xc04c5f88 snd_seq_system_client_init: sub $0x190,%esp
4c4: 81 ec 90 01 00 00 sub $0x190,%esp snd_virmidi_dev_attach_seq: sub $0x190,%esp
0xc02c1783 snd_ctl_elem_add: sub $0x190,%esp
0xc01a715c fat_search_long: sub $0x190,%esp
0xc027c2a4 sg_ioctl: sub $0x184,%esp
0xc017843c ep_send_events: sub $0x184,%esp

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/