[PATCH rust-next 0/2] Add llseek support to miscdevice and samples
From: Ryosuke Yasuoka
Date: Mon Aug 18 2025 - 10:17:01 EST
This patch series introduces support for the llseek file operation to
the Rust miscdevice abstraction.
The first patch, rust: miscdevice: add llseek support, extends the
MiscDevice trait with a new llseek method.
The second patch, rust: samples: miscdevice: add lseek samples, add a
simple example of how to use the new llseek feature. As currently the
MiscDevice trait does not support any read/write file operation yet, the
sample is fundamental one.
Ryosuke Yasuoka (2):
rust: miscdevice: add llseek support
rust: samples: miscdevice: add lseek samples
rust/kernel/miscdevice.rs | 36 +++++++++++++++++
samples/rust/rust_misc_device.rs | 68 ++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
--
2.50.1