virt: drop /proc/1/sched hack
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2020 15:16:21 +0000 (16:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Dec 2020 20:07:46 +0000 (21:07 +0100)
commit5e3effb1f3327d531c8b9f45153ccec4313e4f6f
treeb032acfd643cccd5fec6389a7fc9fd8bf9062833
parent1c36b8bf530e80d848b2e67acd99588ecfb1e440
virt: drop /proc/1/sched hack

On really old kernels (< 4.14+) a bug in /proc/1/sched handling in the
kernel could be used to determine whether we are running in a PID
namespace. This hasn't worked for a long time, and there's little point
in making things work on old kernels we can't make work on current
kernels, hence let's drop that old cruft.

See: #8153
src/basic/virt.c