Re: + mm-exec-rename-mm-exe_file-to-mm-exe_path.patch added to -mmtree

From: Cyrill Gorcunov
Date: Wed Mar 07 2012 - 15:37:58 EST


On Wed, Mar 07, 2012 at 08:51:04PM +0100, Oleg Nesterov wrote:
...
>
> > OOPs. Sorry for false alarm, Oleg!
>
> No, thanks for the report and analysis.
>
> Indeed, the patch is deadly wrong. Somehow I missed that ->f_path
> is not the pointer! So set_mm_exe_path(&bprm->file->f_path) is
> is obvioulsy wrong. I didn't bother to think about "&" think call
> needs.
>

OK. So it is not a false alarm as I thought after
trying to write a call trace, good to know ;)

Anyway, this problem is hard to repeat and I have
no idea how I managed to hit it in first place.
It was indeed "easily" until I rebooted the test
machine.

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