Skip to content

Update nix to v0.31.2 & associated API changes#718

Draft
joebonrichie wants to merge 1 commit intomainfrom
nix-0.31.2
Draft

Update nix to v0.31.2 & associated API changes#718
joebonrichie wants to merge 1 commit intomainfrom
nix-0.31.2

Conversation

@joebonrichie
Copy link
Contributor

No longer NO_FOLLOW_SYMLINK in linkat() in blit_element_item to prevent EINVAL errors. This mirrors what was previously required for io-uring and rustix experiments.

Avoid using deprecated flock API and adjust as neccessary

linkat now needs directory fds passed to it to more closly match the syscall, adjust as neccessary.

@joebonrichie joebonrichie force-pushed the nix-0.31.2 branch 5 times, most recently from 07722de to cd2ece8 Compare March 1, 2026 18:39
No longer NO_FOLLOW_SYMLINK in linkat() in blit_element_item to prevent
EINVAL errors. This mirrors what was previously required for io-uring
and rustix experiments.

Avoid using deprecated flock API and adjust as neccessary

linkat now needs directory fds passed to it to more closly match the
syscall, adjust as neccessary.

No longer close() after entering a new container, this appears to no
longer be neccessary now we're using an &OwnedFd instead of i32.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant