diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-03 01:53:20 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-03 01:53:26 +0200 |
commit | c26d1879c72fbaa147c0a82df433f676df139a90 (patch) | |
tree | 47e2534d90f3980edc2d12274b0118f61844004e /src/hostname/hostnamed.c | |
parent | bf6871639e25119cf3f8b414890d51e965ca3f97 (diff) |
udevd: make cgroup logic independent of socket passing
This should have no behavioural change, but it is odd to tie the cgroup cleaning to
whether or not we are passed sockets.
The point really is if we are guaranteed to be in a dedicated cgroup, so instead
check for our parent being PID1 (we already implicitly only do this on systemd
systems).
Diffstat (limited to 'src/hostname/hostnamed.c')
0 files changed, 0 insertions, 0 deletions