Re: [RFC] convert ftrace syscall tracer to TRACE_EVENT()
From: David Wagner
Date: Sat May 09 2009 - 13:44:44 EST
Mathieu Desnoyers wrote:
> I would expect to use copy_string_from_user (for strings)
> and copy_from_user for structures, because without any strings
> (especially), the trace information become much less useful.
Why isn't this racey?
(Copying from user space twice can give you two different results.)
--
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/