tools/xenstore: add exports for quota variables

Some quota variables are not exported via header files.

This is part of XSA-326.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
(cherry picked from commit 1da16d5990)
This commit is contained in:
Juergen Gross authored and Andrew Cooper committed 2022-11-01 15:25:15 +00:00
1 parent 7dc06ed1f2
commit 146b9544fb
3 files changed
+5 -3

No files matched your search

+5
View File
@@ -231,6 +231,11 @@ extern TDB_CONTEXT *tdb_ctx;
extern int dom0_domid;
extern int dom0_event;
extern int priv_domid;
extern int quota_nb_watch_per_domain;
extern int quota_max_transaction;
extern int quota_max_entry_size;
extern int quota_nb_perms_per_node;
extern int quota_max_path_len;
extern int quota_nb_entry_per_domain;
extern int quota_req_outstanding;
extern int quota_trans_nodes;
-1
View File
@@ -175,7 +175,6 @@ struct transaction
bool fail;
};
extern int quota_max_transaction;
uint64_t generation;
static void set_tdb_key(const char *name, TDB_DATA *key)
-2
View File
@@ -31,8 +31,6 @@
#include "xenstored_domain.h"
#include "xenstored_transaction.h"
extern int quota_nb_watch_per_domain;
struct watch
{
/* Watches on this connection */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.