qemu,qmp: Enable gas security checker

This commit enables the gas security checker on govmm builds.  The
security checker has signalled 4 issues all of which I've checked
and have determined to be non issues.  These issues are disabled
by this commit.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
This commit is contained in:
Mark Ryan
2018-06-28 15:56:27 +01:00
parent ffc06e6bc4
commit 430e72c63b
4 changed files with 5 additions and 1 deletions

View File

@@ -1652,6 +1652,7 @@ func LaunchCustomQemu(ctx context.Context, path string, params []string, fds []*
path = "qemu-system-x86_64"
}
/* #nosec */
cmd := exec.Command(path, params...)
if len(fds) > 0 {
logger.Infof("Adding extra file %v", fds)