]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: add a basic SystemCallFilter (#3471)
authorTopi Miettinen <topimiettinen@users.noreply.github.com>
Thu, 9 Jun 2016 07:32:04 +0000 (07:32 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Jun 2016 07:32:04 +0000 (09:32 +0200)
commit40093ce5dd4446c011377de6ec74d12a5b8a95b9
treee1980f5efa72cbe55478406b19e67f4054ce323a
parentd9c11f2b01463e33a0b453e013786b5b79182dbe
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.
units/systemd-hostnamed.service.in
units/systemd-importd.service.in
units/systemd-journald.service.in
units/systemd-localed.service.in
units/systemd-logind.service.in
units/systemd-machined.service.in
units/systemd-networkd.service.m4.in
units/systemd-resolved.service.m4.in
units/systemd-timedated.service.in
units/systemd-timesyncd.service.in