Re: [PATCHv2 3/4] staging: android: ion: Add an ioctl for ABI checking
From: Greg Kroah-Hartman
Date: Fri Sep 02 2016 - 02:10:37 EST
On Thu, Sep 01, 2016 at 03:40:43PM -0700, Laura Abbott wrote:
>
> The current Ion ioctls lack a good way to tell what ioctls are
> available. Introduce an ioctl to give an ABI version. This way when the
> ABI inevitably gets screwed up userspace will have a way to tell what
> version of the screw up is available.
This worries me. Why do we need this? Shouldn't any "new" abi changes
just add on, and not change existing ioctl structure calls? Or worst
case, you remove an ioctl and then userspace "knows" that when the call
fails.
And who is the major userspace user of this interface? Who controls it?
How are we keeping things in sync here?
thanks,
greg k-h