Skip to content

Commit 0244416

Browse files
authored
security: restrict abis in bitcoind.service
It's recommended to restrict the possible application binary interfaces that can be used when setting `MemoryDenyWriteExecute=true` to ensure it cannot be circumvented.
1 parent 5ce200d commit 0244416

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/init/bitcoind.service

+3
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,8 @@ PrivateDevices=true
8181
# Deny the creation of writable and executable memory mappings.
8282
MemoryDenyWriteExecute=true
8383

84+
# Restrict ABIs to help ensure MemoryDenyWriteExecute is enforced
85+
SystemCallArchitectures=native
86+
8487
[Install]
8588
WantedBy=multi-user.target

0 commit comments

Comments
 (0)