#linux #bindings #userfaultfd #object #user #page #uffd

ureeves-userfaultfd

Rust bindings for the Linux userfaultfd functionality

1 unstable release

new 0.8.1 Jan 24, 2025

#1207 in Rust patterns

Download history 165/week @ 2025-01-21

165 downloads per month

MIT/Apache

62KB
1K SLoC

Build

Userfaultfd-rs

Rust bindings for Linux's userfaultfd functionality.

License

This software is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.


lib.rs:

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.

Dependencies

~1.8–5MB
~93K SLoC