Re: 2.6.10-mm2: panic when munmap()ping the stack
From: Andrew Morton
Date: Mon Jan 10 2005 - 23:07:33 EST
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
> This program causes an instant panic for me:
>
> #include <sys/mman.h>
>
> int main(int argc, char **argv)
> {
> munmap((char *)(((unsigned long)&argc) & ~4095), 4096*2);
>
> return 0;
> }
I dont' seem to be able to get it to do anything bad at all, with current
-linus or with the current -mm lineup. Can you retest -mm3 when it's
cooked?
-
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/