Very weird bug in fs/exec.c

From: Felipe Contreras (
Date: Thu Jun 27 2002 - 16:19:22 EST


I've found a weird bug that seems to only happend in my system. It makes
recursive makes segfault, like:

        ( make -v )

After a lot of work tracking it I finally found what causes it, I'm attaching
the patch that generates the bug, it's a diff from 2.5.18 to 2.5.19.

I'm saying it's weird because just adding a printk before do_execve returns
successfully makes the bug dissapear.

BTW, yes, my system is very special.

Felipe Contreras

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:12 EST