diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-09 10:28:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-09 16:12:03 +0100 |
commit | 3c19d0b46bb05aef5dcaa2ce83c31b15ee8ae11b (patch) | |
tree | b2219c2de686c483c19b857993ed5a1c9edac879 /units/systemd-journal-remote.service.in | |
parent | units: set SystemCallArchitectures=native on all our long-running services (diff) | |
download | systemd-3c19d0b46bb05aef5dcaa2ce83c31b15ee8ae11b.tar.xz systemd-3c19d0b46bb05aef5dcaa2ce83c31b15ee8ae11b.zip |
units: restrict namespace for a good number of our own services
Basically, we turn it on for most long-running services, with the
exception of machined (whose child processes need to join containers
here and there), and importd (which sandboxes tar in a CLONE_NEWNET
namespace). machined is left unrestricted, and importd is restricted to
use only "net"
Diffstat (limited to 'units/systemd-journal-remote.service.in')
-rw-r--r-- | units/systemd-journal-remote.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in index bc384b8382..cab7778ddc 100644 --- a/units/systemd-journal-remote.service.in +++ b/units/systemd-journal-remote.service.in @@ -24,6 +24,7 @@ ProtectControlGroups=yes ProtectKernelTunables=yes MemoryDenyWriteExecute=yes RestrictRealtime=yes +RestrictNamespaces=yes RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 SystemCallArchitectures=native |