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

Fix illumos. #83

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Fix illumos. #83

merged 1 commit into from
Apr 24, 2024

Conversation

ncruces
Copy link
Owner

@ncruces ncruces commented Apr 23, 2024

Turns out illumos doesn't really support F_OFD_SETLK:
https://illumos.org/man/2/fcntl#file-locking

illumos OFD locks are basically equivalent to flock, as they're limited to locking the entire file. Still, their flock is compatible with F_GETLK, so it can use the BSD implementation.

Added to CI, courtesy of vmactions/omnios-vm.

@ncruces ncruces changed the title Test vmactions. Fix illumos. Apr 23, 2024
@ncruces ncruces marked this pull request as ready for review April 24, 2024 00:06
@ncruces ncruces merged commit fdb2ed0 into main Apr 24, 2024
1 check passed
@ncruces ncruces deleted the vmactions branch April 24, 2024 09:12
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.

None yet

1 participant