[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.022 / U:1.384 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site