tools/xenstore: introduce node_perms structure
authorJuergen Gross <jgross@suse.com>
Tue, 15 Dec 2020 12:34:53 +0000 (13:34 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 12:34:53 +0000 (13:34 +0100)
commit53dabb1fdb30788f9e1826c3543ecf19d37d60d4
tree00f76af651757c08387f13e50a9431eb25cb5ff0
parent1e5815697f941d57fbdc81d0e973a00692adfad3
tools/xenstore: introduce node_perms structure

There are several places in xenstored using a permission array and the
size of that array. Introduce a new struct node_perms containing both.

This is part of XSA-115.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Paul Durrant <paul@xen.org>
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_core.h
tools/xenstore/xenstored_domain.c