File valgrind.mention-sysctl-and-domctl-numbers-from-ancient-Xen-v.patch of Package valgrind
From: Olaf Hering <olaf@aepfle.de>
Date: Thu, 22 Nov 2018 12:54:09 +0100
Subject: mention sysctl and domctl numbers from ancient Xen versions
bz#390553
---
include/vki/vki-xen-domctl.h | 4 ++++
include/vki/vki-xen-sysctl.h | 4 ++++
2 files changed, 8 insertions(+)
--- a/include/vki/vki-xen-domctl.h
+++ b/include/vki/vki-xen-domctl.h
@@ -21,24 +21,28 @@
*/
/* Contributed by Andrew Cooper <andrew.cooper3@citrix.com>
and Ian Campbell <ian.campbell@citrix.com> */
#ifndef __VKI_XEN_DOMCTL_H
#define __VKI_XEN_DOMCTL_H
/*
* The domctl interface is versioned via the interface_version
* field. The structures in this header supports domctl interfaces:
*
+ * - 0x00000003: Xen 3.0.3 (unhandled)
+ * - 0x00000004: Xen 3.0.4 (unhandled)
+ * - 0x00000005: Xen 3.1 (unhandled)
+ * - 0x00000006: Xen 4.0 (unhandled)
* - 0x00000007: Xen 4.1
* - 0x00000008: Xen 4.2
* - 0x00000009: Xen 4.3 & 4.4
* - 0x0000000a: Xen 4.5
* - 0x0000000b: Xen 4.6
* - 0x0000000c: Xen 4.7
*
* When adding a new subop be sure to include the variants used by all
* of the above, both here and in syswrap-xen.c
*
* Structs which are identical in all supported versions have no
* version suffix. Structs which do differ are defined multiple times
--- a/include/vki/vki-xen-sysctl.h
+++ b/include/vki/vki-xen-sysctl.h
@@ -1,19 +1,23 @@
#ifndef __VKI_XEN_SYSCTL_H
#define __VKI_XEN_SYSCTL_H
/*
* The sysctl interface is versioned via the interface_version
* field. The structures in this header supports sysctl interfaces:
*
+ * - 0x00000002: Xen 3.0.3 (unhandled)
+ * - 0x00000003: Xen 3.1.0 (unhandled)
+ * - 0x00000006: Xen 3.2 (unhandled)
+ * - 0x00000007: Xen 4.0 (unhandled)
* - 0x00000008: Xen 4.1
* - 0x00000009: Xen 4.2
* - 0x0000000a: Xen 4.3 & 4.4
* - 0x0000000b: Xen 4.5
*
* When adding a new subop be sure to include the variants used by all
* of the above, both here and in syswrap-xen.c
*
* Structs which are identical in all supported versions have no
* version suffix. Structs which do differ are defined multiple times
* and use the suffix of the earliest version to contain that particular
* variant.