Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
xen.26343
xsa326-15.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xsa326-15.patch of Package xen.26343
From 7c8688f12b8a64c77cb50848897fc9ac66cf4260 Mon Sep 17 00:00:00 2001 From: Juergen Gross <jgross@suse.com> Date: Tue, 13 Sep 2022 07:35:10 +0200 Subject: 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> diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h index 521bc80384e5..5abf06c21c98 100644 --- a/tools/xenstore/xenstored_core.h +++ b/tools/xenstore/xenstored_core.h @@ -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; diff --git a/tools/xenstore/xenstored_transaction.c b/tools/xenstore/xenstored_transaction.c index c1beb40a3d51..6e29118c800d 100644 --- a/tools/xenstore/xenstored_transaction.c +++ b/tools/xenstore/xenstored_transaction.c @@ -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) diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c index 7118c30e8c32..19d0fb01b1c4 100644 --- a/tools/xenstore/xenstored_watch.c +++ b/tools/xenstore/xenstored_watch.c @@ -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 */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor