diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-12-11 16:16:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 16:16:45 +0000 |
commit | 9f3aafcf7aaa59bbf715e626eea9024c83185c6f (patch) | |
tree | d69cd0f7bb7d8cd6ef1e1e7d4ab42be2ee0e65d7 /test/sys/test_mman.rs | |
parent | 6c8ff7bd928536a7f902c3ba44409e170c1104b9 (diff) | |
parent | 27d1844952386a52f190935f8fde1cc967f1e01f (diff) | |
parent | 9797e0c9f4288a3b7652c5fe6532f7379dfb9b8c (diff) | |
download | nix-9f3aafcf7aaa59bbf715e626eea9024c83185c6f.zip |
Merge #1928 #1938
1928: feat: I/O safety for 'sys/memfd' & 'sys/event' & 'sys/eventfd' r=asomers a=SteveLauC
#### What this PR does:
Adds I/O safety for moduels:
1. `sys/memfd`
2. `sys/event`
3. `sys/eventfd`
-----
BYW, I called `rustfmt` on these 4 files, which introduces some noise, sorry about this.
1938: Deprecate the signalfd function. r=asomers a=asomers
The SignalFd type is just as capable and easier to use.
CC `@JonathanWoollett-Light`
Co-authored-by: Steve Lau <stevelauc@outlook.com>
Co-authored-by: Alan Somers <asomers@gmail.com>