Re: [PATCH] pop previous section in alternative.c



On Thu, 10 Apr 2008, Andi Kleen wrote:

A simple way to detect it on the assembler level would be checking
that the section is the same after #NO_APP as before #APP

Not as simple as the section stack would have to be traversed to check
whether there are any differences. And in the end, either such a complete
check or a simple one you have proposed may not be desirable, because I
can imagine in some scenarios the change of a section in an asm may be
deliberate. Let's not limit the tools.

Maciej
--
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/



Relevant Pages

  • Re: 2.6.19-rc6 : Spontaneous reboots, stack overflows - seems to implicate xfs, scsi, networ
    ... softirqs DO run on their own stack! ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: zero copy
    ... > features.So stack should be making a copy of data. ... > More majordomo info at http://vger.kernel.org/majordomo-info.html ... > Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: larger default page sizes...
    ... version of malloc()) ... ... code, stack, mmap'd files are all ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Wanted: simple, safe x86 stack overflow detection
    ... I guess most stack corruptions touch only a small part of the stack. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • RE: Hard lockup on IBM ThinkPad T42
    ... My app does quite a bit of ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)