Re: is avoiding compat ioctls possible?

From: David Miller
Date: Tue Oct 27 2009 - 22:25:43 EST


From: Dave Airlie <airlied@xxxxxxxxx>
Date: Wed, 28 Oct 2009 11:22:18 +1000

> Is there really no way to avoid compat ioctls? was I delusional in
> thinking there was?

If you use pointers in your interfaces in any way, no.

And for this drm_radeon_info thing the pointer is "pointless",
you're just returning 32-bit values to the user, just use
a u32 inside of the drm_radeon_info structure for the kernel
to place the result in.
--
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/