Re: [PATCH v5 1/4] rust: uaccess: add userspace pointers

From: Alice Ryhl
Date: Sun Apr 21 2024 - 14:37:58 EST


On Sun, Apr 21, 2024 at 8:08 PM David Laight <David.Laight@xxxxxxxxxx> wrote:
>
> Should you be implementing 'struct iov_iter' ?
>
> Even if it means creating an IO_UBUF for ioctls?
> (Although that might take some 'fettling' for read+write for ioctls.)

That seems to be intended for when you have several chunks of memory
in userspace that you want to treat as one contiguous chunk. That's
not something I need in the Android Binder driver.

Alice