Kristina Hanicova
b6b6725c95
qemu: Return -EINVAL to keep qemuDomainOpenFile() consistent
...
The description of the function says that the return value is a
file descriptor on success and negative errno on failure which is
not true. If the 'if' case with check on security labels fails,
the return value is -1 not -errno. The solution is to return
'-EINVAL' instead.
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-05-21 14:38:09 +02:00
..
2021-04-06 17:07:05 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:14:44 +02:00
2021-05-03 12:14:44 +02:00
2021-04-26 17:22:52 +02:00
2021-04-13 17:00:38 +02:00
2021-04-21 10:02:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-26 17:22:52 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-05-21 14:29:09 +02:00
2021-04-21 10:20:46 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:38:09 +02:00
2021-04-15 15:42:21 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:08:26 +02:00
2021-05-20 16:23:32 +02:00
2021-04-21 15:48:01 +02:00
2021-04-13 17:00:38 +02:00
2021-05-10 15:30:18 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-15 15:42:21 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-26 17:22:30 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-26 17:22:52 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:14:44 +02:00
2021-05-03 12:14:44 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-06 12:34:41 +02:00
2021-05-03 12:14:44 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:36:57 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-03-12 17:05:52 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-15 15:42:21 +02:00
2021-04-13 17:00:38 +02:00
2021-05-13 11:07:43 +01:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-20 16:27:21 +02:00
2021-04-13 17:00:38 +02:00
2021-04-06 17:07:05 +02:00
2021-04-06 17:07:05 +02:00
2021-04-13 17:00:38 +02:00