Skip to content

Commit

Permalink
security: restrict abis in bitcoind.service
Browse files Browse the repository at this point in the history
It's recommended to restrict the possible application binary interfaces that can be used when setting `MemoryDenyWriteExecute=true` to ensure it cannot be circumvented.
  • Loading branch information
CharlieC3 authored Aug 24, 2023
1 parent 5ce200d commit 0244416
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/init/bitcoind.service
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ PrivateDevices=true
# Deny the creation of writable and executable memory mappings.
MemoryDenyWriteExecute=true

# Restrict ABIs to help ensure MemoryDenyWriteExecute is enforced
SystemCallArchitectures=native

[Install]
WantedBy=multi-user.target

0 comments on commit 0244416

Please sign in to comment.