Module userfaultfd

Source
Expand description

Provides wrapper of userfaultfd crate for vmm-swap feature.

Structs§

DeadUffdCheckerImpl
Check whether the process for the Userfaultfd is dead or not.
Factory
Factory for Userfaultfd.
Userfaultfd
Wrapper for [userfaultfd::Uffd] to be used in the vmm-swap feature.

Enums§

Error
Errors for Userfaultfd
UffdEvent
Events from the userfaultfd object that are read by Uffd::read_event().

Constants§

DEV_USERFAULTFD_PATH 🔒
UFFDIO_API
Constant ioctl request number.
USERFAULTFD_IOC 🔒
USERFAULTFD_IOC_NEW
Constant ioctl request number.

Traits§

DeadUffdChecker
Check whether the process for the Userfaultfd is dead or not.

Functions§

register_regions
Register all the regions to all the userfaultfd
unregister_regions
Unregister all the regions from all the userfaultfd.

Type Aliases§

Result
Result for Userfaultfd