virprocess: Drop workaround for setns() wrt old glibc

We have our own implementation of setns() which was introduced in
v1.2.9-rc1~190 and extended afterwards. The reason was that back
in 2014 we were dealing with glibc that in some of its older
versions did not provide the function. Mostly for non-intel
arches. Nevertheless, glibc now offers the function for all
architectures we care about (aarch64 being the freshest
architecture where the function was introduced, in glibc-2.17).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Michal Privoznik
2022-05-24 10:21:11 +02:00
parent 9750edcfb0
commit 3663a7d48c
2 changed files with 11 additions and 45 deletions

View File

@@ -557,7 +557,6 @@ functions = [
'prlimit',
'sched_setscheduler',
'setgroups',
'setns',
'setrlimit',
'symlink',
'sysctlbyname',