Files
xen/tools
Juergen Gross f6b801c36b tools/xenstore: fix quota check in acc_fix_domains()
Today when finalizing a transaction the number of node quota is checked
to not being exceeded after the transaction. This check is always done,
even if the transaction is being performed by a privileged connection,
or if there were no nodes created in the transaction.

Correct that by checking quota only if:
- the transaction is being performed by an unprivileged guest, and
- at least one node was created in the transaction

Reported-by: Julien Grall <julien@xen.org>
Fixes: f2bebf72c4 ("xenstore: rework of transaction handling")
Signed-off-by: Juergen Gross <jgross@suse.com>
2023-03-29 22:02:36 +01:00
..
2022-07-11 12:13:24 +02:00
2023-03-20 17:12:34 +01:00
2023-03-17 10:44:16 +00:00
2023-03-23 09:18:26 +01:00
2023-03-28 11:57:56 +01:00
2023-03-28 11:57:56 +01:00
2023-03-17 10:44:16 +00:00