#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

#182 in Rust patterns

Download history 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 18033/week @ 2024-03-21 13574/week @ 2024-03-28 19225/week @ 2024-04-04 9175/week @ 2024-04-11 15428/week @ 2024-04-18 8987/week @ 2024-04-25 8120/week @ 2024-05-02 7748/week @ 2024-05-09 7353/week @ 2024-05-16 7102/week @ 2024-05-23 7172/week @ 2024-05-30

31,297 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
~91K SLoC