pdfork
A Rust fork wrapper that uses process descriptors (pdfork) on FreeBSD and normal fork elsewhere.
Process descriptors are like file descriptors but for processes:
- they are immune to PID race conditions (they track the exact process in the kernel);
- they work in the Capsicum capability mode sandbox.
extern crate libc;
extern crate pdfork;
use *;
match fork
Contributing
By participating in this project you agree to follow the Contributor Code of Conduct.
The list of contributors is available on GitHub.
License
This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE
file or unlicense.org.