Skip to content

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

Merged
ahrtr merged 1 commit into
etcd-io:release-1.3from
jrick:release-1.3
Feb 16, 2023
Merged

[1.3] Avoid syscall.Syscall use on OpenBSD#406
ahrtr merged 1 commit into
etcd-io:release-1.3from
jrick:release-1.3

Conversation

@jrick
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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