mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
portable: Set DelegateNamespaces=no for all portable profiles
We don't want to delegate any namespaces to portable services, so let's explicitly set DelegateNamespaces=no in the portable profiles.
This commit is contained in:
@@ -24,6 +24,7 @@ LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictRealtime=yes
|
||||
RestrictNamespaces=yes
|
||||
DelegateNamespaces=no
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallArchitectures=native
|
||||
|
||||
@@ -22,6 +22,7 @@ LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictRealtime=yes
|
||||
RestrictNamespaces=yes
|
||||
DelegateNamespaces=no
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallArchitectures=native
|
||||
|
||||
@@ -20,6 +20,7 @@ NoNewPrivileges=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictRealtime=yes
|
||||
RestrictNamespaces=yes
|
||||
DelegateNamespaces=no
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallArchitectures=native
|
||||
|
||||
Reference in New Issue
Block a user