rust: configfs: introduce rust support for configfs
authorAndreas Hindborg <a.hindborg@kernel.org>
Thu, 8 May 2025 08:52:09 +0000 (10:52 +0200)
committerAndreas Hindborg <a.hindborg@kernel.org>
Mon, 12 May 2025 09:05:07 +0000 (11:05 +0200)
commit446cafc295bfc0e89da94a482fe8290bd8b429fb
treef33521d0df1e57b52044e563ef9ca3b634c0ece0
parentbbb67d4f85fd00a216fca4ca048e15f8ff6a2195
rust: configfs: introduce rust support for configfs

Add a Rust API for configfs, thus allowing Rust modules to use configfs for
configuration. Make the implementation a shim on top of the C configfs
implementation, allowing safe use of the C infrastructure from Rust.

Link: https://lore.kernel.org/r/20250508-configfs-v8-1-8ebde6180edc@kernel.org
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
rust/bindings/bindings_helper.h
rust/helpers/mutex.c
rust/kernel/configfs.rs [new file with mode: 0644]
rust/kernel/lib.rs