lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250918144356.28585-1-manerakai@protonmail.com>
Date: Thu, 18 Sep 2025 14:44:43 +0000
From: ManeraKai <manerakai@...tonmail.com>
To: "aliceryhl@...gle.com" <aliceryhl@...gle.com>, "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>, "arnd@...db.de" <arnd@...db.de>
Cc: "rust-for-linux@...r.kernel.org" <rust-for-linux@...r.kernel.org>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "manerakai@...tonmail.com" <manerakai@...tonmail.com>
Subject: [PATCH 0/3] rust: miscdevice: Extending the abstraction

Hi,

The following patches are fairly simple, as this is my first time:

1. Introduced a new general abstraction called `FileOperations`.
2. Implemented `read` and `write` for misc.
3. Updated the sample file for misc.

ManeraKai (3):
  rust: miscdevice: Moved `MiscDevice` to a more general abstraction
  rust: miscdevice: Implemented `read` and `write`
  samples: rust: Updated the example using the Rust MiscDevice
    abstraction

 rust/kernel/fs.rs                 |   1 +
 rust/kernel/fs/file_operations.rs | 109 +++++++++++
 rust/kernel/miscdevice.rs         | 178 +++++++++---------
 samples/rust/rust_misc_device.rs  | 289 ++++++++++++++++++++----------
 4 files changed, 391 insertions(+), 186 deletions(-)
 create mode 100644 rust/kernel/fs/file_operations.rs

-- 
2.43.0



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ