[lkml]   [2009]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] convert ftrace syscall tracer to TRACE_EVENT()
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.)

 \ /
  Last update: 2009-05-09 19:47    [W:0.087 / U:30.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site