Messages in this thread | | | Date | Tue, 27 Oct 2009 20:38:38 -0700 (PDT) | Subject | Re: is avoiding compat ioctls possible? | From | David Miller <> |
| |
From: Dave Airlie <airlied@gmail.com> Date: Wed, 28 Oct 2009 13:05:08 +1000
> DrNick on irc suggested just doing: > if (is_compat_task()) ptr &= 0x00000000FFFFFFFF; > > Is there a one liner I can just do in the actual ioctls instead of > adding 20 compat > ones?
Just do the right thing and pass all userland compat pointers through the correct compat_*() macros.
| |