]> xenbits.xensource.com Git - libvirt.git/commit
vircommand: Unify mass FD closing
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Aug 2023 13:10:39 +0000 (15:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Aug 2023 10:44:11 +0000 (12:44 +0200)
commitdd2eeaad0b9be1924e6626dd05bf0a8f908d9e19
tree79beac0843b5b39ddcbdedf84d0d2b059ed8ccb9
parent06d0a66292228a6cba9fa2e95cf1a11091d2f584
vircommand: Unify mass FD closing

We have two version of mass FD closing: one for FreeBSD (because
it has closefrom()) and the other for everything else. But now
that we have closefrom() wrapper even for Linux, we can unify
these two.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/util/vircommand.c