rustix
rustix copied to clipboard
Safe Rust bindings to POSIX-ish APIs
As per its source: ```rust pub fn waitpgid(pgid: Pid, waitopts: WaitOptions) -> Result { Ok(syscalls::waitpgid(pgid, waitopts)?.map(|(_, status)| status)) } ``` The first return value is the PID of the process...
Rustix has been on version 0.38.x for a while and work towards a 1.0 release seems to be a bit stale. There is already a 1.0 issue here #753 but...
The current mount syscall implementation is incorrect since it does not allow for `source`, `filesystemtype` and `data` to be null. I opened a pr (#1024) that adds a separate mount2...
In some cases it would be nice to be able to call syscalls directly using the `linux-raw-sys` crate without relying on wrappers in `rustix`.
Have `open_and_check_file` create a new file descriptor before scanning for directory entries, so that it doesn't share a directory position with other threads. Fixes #1050.
Hello there! There is no API that can bind my raw socket fd to an Interface name (&str). Unfortunately, There is only a MAC address on my interface so I...
Adds the following setup flags: * `IORING_SETUP_NO_MMAP` - liburing 2.5, kernel 6.5 * `IORING_SETUP_REGISTERED_FD_ONLY` - liburing 2.5, kernel 6.5 Upgrades linux-raw-sys to 0.6.4 to provide the constants with the linux-raw...
Hi, Please add `fanotify` APIs Man page for more info: https://man7.org/linux/man-pages/man7/fanotify.7.html Source link: https://github.com/torvalds/linux/blob/dccb07f2914cdab2ac3a5b6c98406f765acab803/include/uapi/linux/fanotify.h
This required changing fields of some structs under `io_uring` thus probably braking semantic versioning.
I'm doing some work there and I'd like to get the latest fixes for Nightly Rust