Re: [PATCH 1/14] i386 / Make write ldt return error code

From: Chris Wright
Date: Tue Aug 16 2005 - 19:23:07 EST


* Andi Kleen (ak@xxxxxxx) wrote:
> On Tue, Aug 16, 2005 at 05:06:18PM -0700, Chris Wright wrote:
> > In this case the callers do propagate the error (unless you mean
> > userspace doesn't check return value from syscall, which is same problem
> > if copy_from_user failed, for example). Xen has done some more wrapping
>
> Nothing checks them in user space.
>
> Also how would you handle them anyways? It just doesn't make sense.

Yes, I see your point, although copy_from_user failing has similar issue
if userspace isn't checking errors. But this one is not critical.

thanks,
-chris
-
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/