Re: is avoiding compat ioctls possible?

David Miller
2009-10-28T03:45:09Z

From: Dave Airlie <airlied@linux.ie>
Date: Wed, 28 Oct 2009 03:43:07 +0000 (GMT)

> we already opencoded this (probably before it was macroisied or we just
> pasted it), so the radeon one is buggy, I should just go and compat_* all
> of these then and we should be all happy?

It should be, it's only working because:

1) A malicious userland hasn't put garbage in the upper bits for
you yet.

2) Nobody has tested s390 yet :-)

Let's just not design non-portability into the code when we
have no strong reason to, ok? :-)