Crate procfs_core

source
Expand description

This crate provides to an interface into the linux procfs filesystem, usually mounted at /proc.

This is a pseudo-filesystem which is available on most every linux system and provides an interface to kernel data structures.

§procfs-core

The procfs-core crate is a fully platform-independent crate that contains most of the data-structures and parsing code. Most people should first look at the procfs crate instead.

Re-exports§

  • pub use sys::kernel::Version as KernelVersion;

Modules§

  • Functions related to the in-kernel key management and retention facility
  • Information about the networking layer.
  • Extension traits useful for importing wholesale.
  • Functions and structs related to process information
  • Sysctl is a means of configuring certain aspects of the kernel at run-time, and the /proc/sys/ directory is there so that you don’t even need special tools to do it!

Structs§

Enums§

  • Possible values for a kernel config option
  • The kind of a lock (read or write)
  • The mode of a lock (advisory or mandatory)
  • The type of a file lock
  • The various error conditions in the procfs crate.
  • Potential results for selftest.
  • Enumeration of potential types and their associated data. Unknown at end to catch unrecognised types.

Traits§

Type Aliases§