]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
service: relax PID file symlink chain checks a bit (#8133)
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2018 16:05:17 +0000 (17:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Feb 2018 16:05:17 +0000 (17:05 +0100)
commit73969ab61c39357e6892747e43307fbf07cafbed
tree9e3f302e9320d422982b59051ae0c94fd86a8d30
parent2d06ddb7b4de5921bde4c8e14b8625c8e484831a
service: relax PID file symlink chain checks a bit (#8133)

Let's read the PID file after all if there's a potentially unsafe
symlink chain in place. But if we do, then refuse taking the PID if its
outside of the cgroup.

Fixes: #8085
src/core/service.c