tools/xenstore: introduce node_perms structure
authorJuergen Gross <jgross@suse.com>
Thu, 11 Jun 2020 14:12:44 +0000 (16:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 13:06:12 +0000 (14:06 +0100)
commit52593586d58086fe27cfbed3dc9beeae3d9c8c09
tree1f81bc80aafd49cfe64240437c86d77b380d1a64
parent3d0e1a15b31b690018e57547c6b82f442b1cbc76
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