#create #read #event #write #builder #events

userfaultfd

Rust bindings for the Linux userfaultfd functionality

14 unstable releases (6 breaking)

new 0.7.0 Sep 21, 2023
0.6.0 Jun 27, 2023
0.5.1 Mar 14, 2023
0.5.0 Oct 3, 2022
0.2.0 Apr 11, 2020

#496 in Rust patterns

Download history 18442/week @ 2023-06-08 15661/week @ 2023-06-15 19125/week @ 2023-06-22 21311/week @ 2023-06-29 30633/week @ 2023-07-06 33530/week @ 2023-07-13 20934/week @ 2023-07-20 24121/week @ 2023-07-27 23382/week @ 2023-08-03 29386/week @ 2023-08-10 33196/week @ 2023-08-17 13002/week @ 2023-08-24 18519/week @ 2023-08-31 14518/week @ 2023-09-07 12083/week @ 2023-09-14 24158/week @ 2023-09-21

71,995 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.9–4MB
~90K SLoC