Skip to content

Commit

Permalink
fix(vault): maybe fix netpollBreak issues
Browse files Browse the repository at this point in the history
- Updated the flake.lock for nixsgx dependency with new revision to get a patched gramine
  matter-labs/nixsgx#54

- Enabled `sys.insecure__allow_eventfd` to support recent golang changes in the `netpoll` implementation
  • Loading branch information
haraldh committed Aug 8, 2024
1 parent 49fb234 commit 33fe7f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/container-vault-sgx-azure/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ nixsgxLib.mkSGXContainer {
sys.stack.size = "16M";
# vault needs flock
sys.experimental__enable_flock = true;

# recent golang switched to eventfd for netpoll
# https://github.com/golang/go/commit/d068c2cb620c1daeedc8b9cce488af45a6c2c889
# enable it to mitigate surprises for golang >= 1.23
sys.insecure__allow_eventfd = true;
};
}

Expand Down

0 comments on commit 33fe7f1

Please sign in to comment.