nix icon indicating copy to clipboard operation
nix copied to clipboard

Rust friendly bindings to *nix APIs

Results 296 nix issues
Sort by recently updated
recently updated
newest added
trafficstars

Hello everyone! On Linux, there is ```struct sigevent``` that allows configuring asynchronous notification for some events (such as asynchronous input/output completion, timer expiration or message delivery on POSIX message queue)....

Per the Linux [man page](https://man7.org/linux/man-pages/man2/sigprocmask.2.html), `sigprocmask(2)` is unspecified in a multithreaded process, perhapss we should make it `unsafe` due to this reason. Or we should simply remove it considering that...

## What does this PR do This PR adds support for the ```mq_notify()``` API that allows a process to register for POSIX message queue notifications. ## Checklist: - [yes] I...

For loading compressed modules, we have to pass MODULE_INIT_COMPRESSED_FILE into the init_module functions, but this variant doesn't exist on the ModuleInitFlags enum (https://github.com/nix-rust/nix/blob/master/src/kmod.rs#L59-L64)

A-features

This is needed to be able to load compressed kernel modules. ## What does this PR do ## Checklist: - [x] I have read `CONTRIBUTING.md` - [x] I have written...

## What does this PR do Add CI support for loongarch64 (re-implementation of #2023 ). Ioctl has been implemented in #2045 . ## Checklist: - [x] I have read `CONTRIBUTING.md`...

## What does this PR do * This is a follow-up to #2479 for switching from `From` to `TryFrom` for conversions between `TimeSpec` and `Duration` which may underflow or overflow...

## Problem Before call: > MultiHeaders { items: [mmsghdr { msg_hdr: msghdr { msg_name: 0x1, msg_namelen: 0, msg_iov: 0x5583b86edbe0, msg_iovlen: 1, msg_control: 0x5583b86edc30, msg_controllen: 32, msg_flags: 0 }, msg_len: 0...

A-features

The posix_spawn functions do not use `-1` as the sentinel for errors, rather `0` is return on success and every other return value is an error. Adds a test case...