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

pledge(2) #132

Merged
merged 1 commit into from Nov 19, 2018

Conversation

Projects
None yet
3 participants
@kivikakk
Member

kivikakk commented Nov 19, 2018

Use pledge(2) on OpenBSD to make it harder to screw up.

/cc @jgm interested in a change like this?

@kivikakk kivikakk merged commit 44eafe0 into master Nov 19, 2018

4 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@kivikakk kivikakk deleted the pledge branch Nov 19, 2018

@jgm

This comment has been minimized.

jgm commented Nov 19, 2018

@kivikakk Sure, I think it makes sense!

@kivikakk kivikakk referenced this pull request Nov 20, 2018

Merged

Use pledge(2) on OpenBSD #278

@nwellnhof

This comment has been minimized.

nwellnhof commented Nov 20, 2018

The pledge system call first appeared in OpenBSD 5.9, so there should be a version check.

@kivikakk

This comment has been minimized.

Member

kivikakk commented Nov 21, 2018

@nwellnhof Thanks for the note; have applied to the upstream PR in 0d6062b, will do so on this fork as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment