[RFC] drivers: android: Binder IPC in Rust
authorWedson Almeida Filho <wedsonaf@google.com>
Tue, 30 Nov 2021 20:02:23 +0000 (21:02 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 17 Jan 2022 02:24:20 +0000 (03:24 +0100)
commitfe7751c4f8fce1bd860b5f3f85513f3d2db956ce
treea011891b040674fb432d3212c32997892b5cd140
parent5c1fec092f967b9b4722f6d91c9bcbe8222098fd
[RFC] drivers: android: Binder IPC in Rust

A port to Rust of the Android Binder IPC mechanism.

This module is a work in progress and will be sent for review later
on, as well as separately from the Rust support.

However, it is included to show how an actual working module
written in Rust may look like.

Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com>
Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-developed-by: Finn Behrens <me@kloenk.de>
Signed-off-by: Finn Behrens <me@kloenk.de>
Co-developed-by: Sven Van Asbroeck <thesven73@gmail.com>
Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com>
Co-developed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Gary Guo <gary@garyguo.net>
Co-developed-by: Wayne Campbell <wcampbell1995@gmail.com>
Signed-off-by: Wayne Campbell <wcampbell1995@gmail.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
12 files changed:
drivers/android/Kconfig
drivers/android/Makefile
drivers/android/allocation.rs [new file with mode: 0644]
drivers/android/context.rs [new file with mode: 0644]
drivers/android/defs.rs [new file with mode: 0644]
drivers/android/node.rs [new file with mode: 0644]
drivers/android/process.rs [new file with mode: 0644]
drivers/android/range_alloc.rs [new file with mode: 0644]
drivers/android/rust_binder.rs [new file with mode: 0644]
drivers/android/thread.rs [new file with mode: 0644]
drivers/android/transaction.rs [new file with mode: 0644]
include/uapi/linux/android/binder.h