]> git.ipfire.org Git - thirdparty/linux.git/commit
rust_binder: use compat_ptr_ioctl
authorAlice Ryhl <aliceryhl@google.com>
Fri, 31 Oct 2025 08:48:18 +0000 (08:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 12:24:25 +0000 (13:24 +0100)
commitd4b83ba11cf227705986265fab0744060c02608b
tree366f15b133976fce698140cc2a5d90643c02d02b
parenta1fb84ab7b92e8e9df448a79e8c02b57c98b5141
rust_binder: use compat_ptr_ioctl

Binder always treats the ioctl argument as a pointer. In this scenario,
the idiomatic way to implement compat_ioctl is to use compat_ptr_ioctl.
Thus update Rust Binder to do that.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://patch.msgid.link/20251031-binder-compatptrioctl-v2-1-3d05b5cc058e@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder/process.rs
drivers/android/binder/rust_binder_main.rs