]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
syntax-check: Disallow plain fork() in src/libvirt.c
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Mar 2020 14:28:09 +0000 (15:28 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Mar 2020 15:25:48 +0000 (16:25 +0100)
The last usage of plain fork() was removed in v0.9.7-rc1~50, but
we forgot to update the syntax-check exemption list accordingly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
build-aux/syntax-check.mk

index 45bcf45e806fc9e32b5c6e47eb2674fc2cffc17b..888e35884872c95f7169c9779065c7342aecedb1 100644 (file)
@@ -2016,7 +2016,7 @@ exclude_file_name_regexp--sc_prohibit_close = \
 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
   (^tests/(virhostcpu|virpcitest)data/|docs/js/.*\.js|docs/fonts/.*\.woff|\.diff|tests/virconfdata/no-newline\.conf$$)
 
-_src2=src/(util/(vircommand|virdaemon)|libvirt|lxc/lxc_controller)
+_src2=src/(util/(vircommand|virdaemon)|lxc/lxc_controller)
 exclude_file_name_regexp--sc_prohibit_fork_wrappers = \
   (^($(_src2)|tests/testutils)\.c$$)