diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2016-06-09 07:32:04 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-09 09:32:04 +0200 |
commit | 40093ce5dd4446c011377de6ec74d12a5b8a95b9 (patch) | |
tree | e1980f5efa72cbe55478406b19e67f4054ce323a /units/systemd-journald.service.in | |
parent | d9c11f2b01463e33a0b453e013786b5b79182dbe (diff) |
units: add a basic SystemCallFilter (#3471)
Add a line
SystemCallFilter=~@clock @module @mount @obsolete @raw-io ptrace
for daemons shipped by systemd. As an exception, systemd-timesyncd
needs @clock system calls and systemd-localed is not privileged.
ptrace(2) is blocked to prevent seccomp escapes.
Diffstat (limited to 'units/systemd-journald.service.in')
-rw-r--r-- | units/systemd-journald.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in index 06abe04861..58808d4f8c 100644 --- a/units/systemd-journald.service.in +++ b/units/systemd-journald.service.in @@ -25,6 +25,7 @@ CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG C WatchdogSec=3min FileDescriptorStoreMax=1024 MemoryDenyWriteExecute=yes +SystemCallFilter=~@clock @module @mount @obsolete @raw-io ptrace # Increase the default a bit in order to allow many simultaneous # services being run since we keep one fd open per service. Also, when |