Crate userfaultfd[][src]

A Linux mechanism for handling page faults in user space.

The main way to interact with this library is to create a Uffd object with a UffdBuilder, then use the methods of Uffd from a worker thread.

See userfaultfd(2) and ioctl_userfaultfd(2) for more details.

Structs

EventBuffer

Represents an opaque buffer where userfaultfd events are stored.

FeatureFlags

Used with UffdBuilder to determine which features are available in the current kernel.

IoctlFlags

Used with UffdBuilder and Uffd::register() to determine which operations are available.

Uffd

The userfaultfd object.

UffdBuilder

A builder for initializing Uffd objects.

Enums

Error

Errors for this crate.

Event

Events from the userfaultfd object that are read by Uffd::read_event().

ReadWrite

Type Definitions

Result