[PATCH v1 9/9] staging: android: binder: Add binder compat layer
Greg KH
gregkh at linuxfoundation.org
Wed Dec 4 21:43:25 UTC 2013
On Wed, Dec 04, 2013 at 12:46:42PM -0800, Colin Cross wrote:
> On Wed, Dec 4, 2013 at 10:35 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
> <snip>
>
> > And finally, is this all really needed? Why not just fix the structures
> > to be "correct", and then fix userspace to use the correct structures as
> > well, thereby not needing a compat layer at all?
>
> Some of the binder ioctls take userspace pointers. Are you suggesting
> storing those pointers in a __u64 to avoid having to have a
> compat_ioctl?
Yes, that's the best way to solve the issue, right?
thanks,
greg k-h
More information about the devel
mailing list