lkml.org 
[lkml]   [2006]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Linux porting issue/question...
    From
    Date
    On Mon, 2006-05-15 at 15:18 -0700, John Z. Bohach wrote:
    > However, running 'ls {somedir}' on a directory, any directory, always
    > returns the error code for "EFAULT" (Bad address), at the user level.

    Hack your copy_to_user() to printk and/or backtrace when it faults.
    If that doesn't catch it, find any _other_ place where that call path
    can return -EFAULT.

    --
    dwmw2

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-16 03:08    [W:0.025 / U:0.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site