tools/ocaml/xenstored: add xenstored.conf flag to turn off watch permission checks
authorEdwin Török <edvin.torok@citrix.com>
Tue, 15 Dec 2020 12:35:19 +0000 (13:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 12:35:19 +0000 (13:35 +0100)
commit34f008318d191dfee1f58be710438fda5a8fc914
tree52bbac4f6ace9b6f7a7755df2a54b58f0007ac2f
parentff3d2dff9b80929c91e157b12947be29b50348b6
tools/ocaml/xenstored: add xenstored.conf flag to turn off watch permission checks

There are flags to turn off quotas and the permission system, so add one
that turns off the newly introduced watch permission checks as well.

This is part of XSA-115.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/xenstored/connection.ml
tools/ocaml/xenstored/oxenstored.conf.in
tools/ocaml/xenstored/perms.ml
tools/ocaml/xenstored/xenstored.ml