On Wed, Dec 11, 2013 at 2:01 PM, Yann Droneaud <[email protected]> wrote:
> Just like vfs_read(), uverbs_write() must check output buffer
> (eg. response) with access_ok(VERIFY_WRITE,...) to ensure
> it's in userspace memory before using the pointer in uverbs
> functions.

Is there any place where we use this pointer through something other
than copy_to_user()?  I don't think there is or ever should be, in
which case this check is redundant.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to