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-07-01 14:30:42 +02:00
2013-05-06 14:01:08 -06:00
2013-08-16 15:31:18 -06:00
2013-04-15 17:35:31 +01:00
2013-04-25 13:05:10 +02:00
2013-05-13 17:24:18 +08:00
2013-10-15 13:05:40 +02:00
2013-10-15 13:05:40 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-06-26 14:10:56 -04:00
2013-05-13 18:30:26 +08:00
2013-08-26 16:09:56 +02:00
2013-08-27 17:42:29 +02:00
2013-08-27 17:42:29 +02:00
2013-08-20 10:46:58 -06:00
2013-05-17 08:33:22 +02:00
2013-07-16 12:16:37 +02:00
2013-07-16 12:16:37 +02:00
2013-05-17 08:35:08 +02:00
2013-08-27 12:45:58 +02:00
2013-07-25 13:26:41 +02:00
2013-07-25 13:26:41 +02:00
2013-04-04 11:07:31 +01:00
2013-04-02 15:53:43 +02:00
2013-08-01 17:04:28 -04:00
2013-07-11 14:18:11 -04:00
2013-10-30 11:50:26 +00:00
2013-08-22 11:38:36 +02:00
2013-08-16 15:31:18 -06:00
2013-10-15 13:05:40 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-07-10 17:40:13 +01:00
2013-07-10 11:07:31 +02:00
2013-05-31 10:51:33 -06:00
2013-07-10 11:07:31 +02:00
2013-08-01 17:04:28 -04:00
2013-07-10 11:07:33 +02:00
2013-10-15 13:05:40 +02:00
2013-10-30 11:49:39 +00:00
2013-08-14 09:46:22 -04:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-07-10 11:07:31 +02:00
2013-04-24 10:59:53 +01:00
2013-07-10 17:40:13 +01:00
2013-08-22 13:51:26 -06:00
2013-07-10 11:07:31 +02:00
2013-07-29 13:31:20 +08:00
2013-08-26 16:09:56 +02:00
2013-08-26 16:09:55 +02:00
2013-07-10 17:40:13 +01:00
2013-08-26 16:09:55 +02:00
2013-08-26 16:09:55 +02:00
2013-08-27 17:42:29 +02:00
2013-08-27 17:42:29 +02:00
2013-05-20 20:14:19 +08:00
2013-06-06 17:22:53 +02:00
2013-08-23 15:23:44 -06:00
2013-02-25 17:38:11 -07:00
2013-08-20 10:46:58 -06:00
2013-08-20 10:46:58 -06:00
2013-07-10 11:07:33 +02:00
2013-07-10 11:07:31 +02:00
2013-05-21 09:22:21 -04:00
2013-07-29 13:09:39 -06:00
2013-06-07 15:21:57 +02:00
2013-07-29 13:09:39 -06:00
2013-05-10 08:52:43 -04:00
2013-05-17 08:33:22 +02:00
2013-07-16 12:16:37 +02:00
2013-05-17 08:35:08 +02:00
2013-08-27 12:45:58 +02:00
2013-07-25 13:26:41 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-03-19 13:13:28 -06:00
2013-08-12 10:06:41 -06:00
2013-08-12 10:06:41 -06:00
2013-08-12 10:06:41 -06:00
2013-04-04 22:42:39 +02:00
2013-05-20 20:14:19 +08:00
2013-05-31 11:35:34 -06:00
2013-04-04 22:42:39 +02:00
2013-04-04 22:42:39 +02:00
2013-07-10 17:40:13 +01:00
2013-07-10 17:40:13 +01:00
2013-05-02 16:56:55 +02:00
2013-08-19 15:54:43 +02:00
2013-07-10 11:07:31 +02:00
2013-05-14 15:00:22 +01:00
2013-07-31 19:27:19 +01:00
2013-08-09 08:57:01 -06:00
2013-05-02 16:56:55 +02:00
2013-02-12 09:00:15 -07:00
2013-07-18 14:05:46 +02:00
2013-05-02 16:56:55 +02:00
2013-04-08 10:03:20 +01:00
2013-05-02 16:56:55 +02:00
2013-05-10 13:09:30 -04:00
2013-10-30 11:49:39 +00:00
2013-07-10 11:07:33 +02:00
2013-07-10 17:40:13 +01:00
2013-08-21 13:51:25 +01:00
2013-08-09 11:54:41 +01:00
2013-08-09 11:54:41 +01:00
2013-08-12 20:20:00 -06:00
2013-05-10 13:09:30 -04:00
2013-08-12 18:47:56 +02:00
2013-04-03 08:49:30 +02:00
2013-08-22 15:03:38 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-05-31 10:51:33 -06:00
2013-08-30 14:23:32 +01:00
2013-07-31 19:24:53 +01:00
2013-05-02 16:56:55 +02:00
2013-05-21 23:41:45 +08:00
2013-05-10 11:54:29 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-05-10 11:54:29 +02:00