linux/samples/rust
Greg Kroah-Hartman 1da0ca4bdf Merge patch series "Rust support for struct iov_iter"
Alice Ryhl <aliceryhl@google.com> says:

This series adds support for the `struct iov_iter` type. This type
represents an IO buffer for reading or writing, and can be configured
for either direction of communication.

In Rust, we define separate types for reading and writing. This will
ensure that you cannot mix them up and e.g. call copy_from_iter in a
read_iter syscall.

To use the new abstractions, miscdevices are given new methods read_iter
and write_iter that can be used to implement the read/write syscalls on
a miscdevice. The miscdevice sample is updated to provide read/write
operations.

Intended for Greg's miscdevice tree.

Link: https://lore.kernel.org/r/20250822-iov-iter-v5-0-6ce4819c2977@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-06 13:27:23 +02:00
..
hostprogs samples: add first Rust examples 2022-09-28 09:03:08 +02:00
Kconfig drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
Makefile drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
rust_configfs.rs rust: macros: remove module!'s deprecated author key 2025-06-24 01:01:13 +02:00
rust_dma.rs drm for 6.17-rc1 2025-07-30 19:26:49 -07:00
rust_driver_auxiliary.rs Rust changes for v6.17 2025-08-03 13:49:10 -07:00
rust_driver_faux.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_driver_pci.rs samples: rust: pci: reset pci-testdev in unbind() 2025-07-09 00:04:33 +02:00
rust_driver_platform.rs samples: rust: add ACPI match table example to platform driver 2025-06-26 23:26:15 +02:00
rust_minimal.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00
rust_misc_device.rs Merge patch series "Rust support for struct iov_iter" 2025-09-06 13:27:23 +02:00
rust_print_events.c rust: samples: add tracepoint to Rust sample 2024-11-04 16:21:44 -05:00
rust_print_main.rs rust: use kernel::{fmt,prelude::fmt!} 2025-07-21 01:16:35 +02:00