rust/kernel/interop.rs

Source file repositories/reference/linux-study-clean/rust/kernel/interop.rs

File Facts

System
Linux kernel
Corpus path
rust/kernel/interop.rs
Extension
.rs
Size
295 bytes
Lines
10
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: implementation source
Status
source implementation candidate

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0

//! Infrastructure for interfacing Rust code with C kernel subsystems.
//!
//! This module is intended for low-level, unsafe Rust infrastructure code
//! that interoperates between Rust and C. It is *not* for use directly in
//! Rust drivers.

pub mod list;

Annotation

Implementation Notes