[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>
Fri, 11 Feb 2022 19:43:14 +0000 (20:43 +0100)
commit255b71ccea93013885636098dbe69036ff2160c6
treed682e0b8c2394ff09ebedfa86136c482ecbfc9d7
parent3191308cf30af54fca75531e8a18a6f2b2706fba
[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