Add SystemCallFilter=@system-service
This commit is contained in:
parent
2af73881d7
commit
9fd0964e1c
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ SecureBits=keep-caps
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
|
|
||||||
; Sandboxing
|
; Sandboxing
|
||||||
|
; This works with YubiKey PIV (via pcscd), and presumably with YubiHSM2 via http connector
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
ProtectHome=true
|
ProtectHome=true
|
||||||
RestrictNamespaces=true
|
RestrictNamespaces=true
|
||||||
|
@ -44,8 +45,8 @@ LockPersonality=true
|
||||||
RestrictSUIDSGID=true
|
RestrictSUIDSGID=true
|
||||||
RemoveIPC=true
|
RemoveIPC=true
|
||||||
RestrictRealtime=true
|
RestrictRealtime=true
|
||||||
; confirmed this works, even with YubiKey PIV, and presumably with YubiHSM2:
|
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
|
SystemCallFilter=@system-service
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
ReadWriteDirectories=/etc/step-ca/db
|
ReadWriteDirectories=/etc/step-ca/db
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue