Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unix: update the OpenBSD pledge interface to handle execpromises
The current Pledge function still takes into account the deprecated "paths" argument, which has been replaced by "execpromises". This change has been committed to OpenBSD on the 11 December 2017: https://marc.info/?l=openbsd-tech&m=151302727506669. This commit updates the Pledge function interface to reflect this change. Fixes golang/go#26824 Change-Id: Id6255b0432cf0a33e680e342dd23c7b02d0aa78f Reviewed-on: https://go-review.googlesource.com/127762 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
- Loading branch information
1 parent
f0d5e33
commit 98c5dad
Showing
2 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters