#linux #bindings #methods #fault #object #user #uffd

userfaultfd

Rust bindings for the Linux userfaultfd functionality

16 unstable releases (7 breaking)

0.8.1 Jan 15, 2024
0.7.0 Sep 21, 2023
0.6.0 Jun 27, 2023
0.5.1 Mar 14, 2023
0.2.0 Apr 11, 2020

#171 in Rust patterns

Download history 14714/week @ 2023-12-07 17002/week @ 2023-12-14 8249/week @ 2023-12-21 9442/week @ 2023-12-28 7395/week @ 2024-01-04 12970/week @ 2024-01-11 26590/week @ 2024-01-18 18921/week @ 2024-01-25 17748/week @ 2024-02-01 26724/week @ 2024-02-08 25149/week @ 2024-02-15 12089/week @ 2024-02-22 11259/week @ 2024-02-29 14300/week @ 2024-03-07 24980/week @ 2024-03-14 16223/week @ 2024-03-21

68,974 downloads per month
Used in 2 crates

MIT/Apache

61KB
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.9–5MB
~90K SLoC