build: don't hand-roll cloexec code

No need to repeat common code.

* bootstrap.conf (gnulib_modules): Import calloc-posix.
* src/util/bridge.c (brInit): Use virSetCloseExec.
(brSetInterfaceUp): Adjust flags name.
* src/uml/uml_driver.c (umlSetCloseExec): Delete.
(umlStartVMDaemon): Use util version instead.
This commit is contained in:
Eric Blake
2011-07-07 17:42:05 -06:00
parent e17d3e7fe7
commit ff98359d51
3 changed files with 12 additions and 33 deletions

View File

@@ -27,6 +27,7 @@ byteswap
c-ctype
c-strcase
c-strcasestr
calloc-posix
canonicalize-lgpl
chown
close