Re: Linux porting issue/question...

From: David Woodhouse
Date: Mon May 15 2006 - 21:05:26 EST


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