Re: [RFC][PATCH] exec: Fix use after free of tracepointtrace_sched_process_exec

From: Al Viro
Date: Tue Feb 04 2014 - 20:10:39 EST


On Tue, Feb 04, 2014 at 04:57:31PM -0800, Linus Torvalds wrote:
> On Tue, Feb 4, 2014 at 3:42 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > New version that moves all the ugliness into a static inline helper
> > function.
>
> Ok, that's better, but I really think we should just use "getname()"
> and "putname()".

Umm... Interactions with aushit might be interesting. It hooks into
getname() and putname(); I'm not up to doing analysis right now (13 hours
of nearly non-stop {R,Grep}TFS today already and I'm ears-deep in
looking through locking implications of Miklos' stuff at the moment ;-/),
but it's worth looking into; there may be dragons.
--
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/