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

F bsd mlock #1297

Merged
merged 10 commits into from
Apr 6, 2016
Merged

F bsd mlock #1297

merged 10 commits into from
Apr 6, 2016

Conversation

sean-
Copy link
Contributor

@sean- sean- commented Apr 5, 2016

Use mlockall(2) on FreeBSD, NetBSD, OpenBSD, and Darwin.

sean- added 10 commits April 5, 2016 12:18
The `syscall` package has been frozen in favor of `x/sys`.  As a result, all of the BSDs are supported and do have `mlockall(2)` support in current versions of Go.
Same syscall interface, but the `x/sys/unix` package is not frozen.  No functional change from this commit.
If someone begins using Vault on Windows in dev mode, always hint so that this isn't a surprise when they get to production.
In theory Android and NaCL could build Vault now, too.

List of targets derived from: `go tool dist list`
Requested by: jefferai
I'm not entirely sure why this didn't work, but explicitly list the unsupported platforms as identified by `go tool dist list`
@vishalnayak
Copy link
Member

Neat! LGTM. 🚢

@sean- sean- merged commit 4e6d8b9 into master Apr 6, 2016
@sean- sean- deleted the f-bsd-mlock branch April 6, 2016 20:57
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.

2 participants