Skip to content

Commit

Permalink
systemd service: disallow access to devices (except, zero, full, null…
Browse files Browse the repository at this point in the history
…, random, urandom)
  • Loading branch information
pieterlexis authored and rgacogne committed Dec 7, 2022
1 parent 77a8401 commit a4e4a9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pdns/dnsdistdist/dnsdist.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ ProtectProc=invisible
MemoryDenyWriteExecute=true
PrivateIPC=true
RemoveIPC=true
DevicePolicy=closed

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions pdns/ixfrdist.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ProtectProc=invisible
MemoryDenyWriteExecute=true
PrivateIPC=true
RemoveIPC=true
DevicePolicy=closed

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions pdns/pdns.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ ProtectProc=invisible
MemoryDenyWriteExecute=true
PrivateIPC=true
RemoveIPC=true
DevicePolicy=closed

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions pdns/recursordist/pdns-recursor.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ProtectProc=invisible
MemoryDenyWriteExecute=true
PrivateIPC=true
RemoveIPC=true
DevicePolicy=closed

[Install]
WantedBy=multi-user.target

0 comments on commit a4e4a9d

Please sign in to comment.