mirror of https://github.com/aya-rs/aya
This is a breaking change but adds another level of safety to ensure the file descriptor we receive is valid. Additionally, this allows aya to internally easily duplicate this file descriptor using std library methods instead of manually calling `dup` which doesn't duplicate with the CLOSE_ON_EXEC flag that is standard pratice to avoid leaking the file descriptor when exec'ing. |
2 years ago | |
---|---|---|
.. | ||
libbpf@a2258003f2 | 2 years ago | |
public-api | 2 years ago | |
src | 2 years ago | |
Cargo.toml | 2 years ago |