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

[1.3] Avoid syscall.Syscall use on OpenBSD #406

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

jrick
Copy link
Contributor

@jrick jrick commented Feb 15, 2023

Syscall numbers are not stable on OpenBSD, and hardcoding the msync syscall number will break bbolt on future versions of OpenBSD. Use the libc wrapper provided by golang.org/x/sys/unix instead.

Syscall numbers are not stable on OpenBSD, and hardcoding the msync
syscall number will break bbolt on future versions of OpenBSD.  Use
the libc wrapper provided by golang.org/x/sys/unix instead.

Signed-off-by: Josh Rickmar <jrick@zettaport.com>
@ahrtr ahrtr added this to the v1.3.8 milestone Feb 15, 2023
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jrick

@ahrtr ahrtr merged commit 1108915 into etcd-io:release-1.3 Feb 16, 2023
@jrick jrick deleted the release-1.3 branch February 16, 2023 16:12
@ahrtr ahrtr mentioned this pull request Aug 11, 2023
6 tasks
@ahrtr ahrtr changed the title Avoid syscall.Syscall use on OpenBSD [1.3] Avoid syscall.Syscall use on OpenBSD Oct 23, 2023
@ahrtr
Copy link
Member

ahrtr commented Oct 23, 2023

Backported from #404

bob-beck pushed a commit to openbsd/ports that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants