Re: [RFC] convert ftrace syscall tracer to TRACE_EVENT()

David Wagner
2009-05-09T17:44:41Z

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.)