Daniel P. Berrange 6f5f52c43f Make virCommand env handling robust in setuid env
When running setuid, we must be careful about what env vars
we allow commands to inherit from us. Replace the
virCommandAddEnvPass function with two new ones which do
filtering

  virCommandAddEnvPassAllowSUID
  virCommandAddEnvPassBlockSUID

And make virCommandAddEnvPassCommon use the appropriate
ones

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 9b8f307c6ad002a17a0510513883d06395636793)

Conflicts:
	src/qemu/qemu_command.c
2013-10-30 11:50:26 +00:00
..
2013-10-30 11:49:39 +00:00
2013-07-29 13:09:39 -06:00
2013-03-19 13:13:28 -06:00
2013-02-12 09:00:15 -07:00
2013-10-30 11:49:39 +00:00