Re: Linux porting issue/question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux