Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcntl F_SEAL not available on FreeBSD #1733

Closed
PolyMeilex opened this issue Jun 5, 2022 · 1 comment · Fixed by #1782
Closed

fcntl F_SEAL not available on FreeBSD #1733

PolyMeilex opened this issue Jun 5, 2022 · 1 comment · Fixed by #1782

Comments

@PolyMeilex
Copy link
Contributor

nix/src/fcntl.rs

Lines 437 to 440 in 1647189

#[cfg(any(target_os = "android", target_os = "linux"))]
F_ADD_SEALS(SealFlag),
#[cfg(any(target_os = "android", target_os = "linux"))]
F_GET_SEALS,

FreeBSD manual lists those as available, but nix does not.

@asomers
Copy link
Member

asomers commented Jun 5, 2022

Yep. Would you care to submit a PR to add it?

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 a pull request may close this issue.

2 participants