Mailing List Archive

[PATCH 0/4] xen/xlat: Improvements to compat hypercall checking
This started off as patch 3, and grew somewhat.

Patches 1-3 are simple and hopefully non-controversial.

Patch 4 is an attempt to make the headers less fragile, but came with an
unexpected complication. Details in the patch.

Andrew Cooper (4):
xen/xlat: Sort out whitespace
xen/xlat: Sort structs per file
xen/gnttab: Perform compat/native gnttab_query_size check
xen/public: Use -Wpadding for public headers

xen/common/Makefile | 1 +
xen/common/compat/grant_table.c | 4 ++
xen/common/hdr-chk.c | 13 ++++++
xen/include/public/grant_table.h | 7 ++++
xen/include/xlat.lst | 70 +++++++++++++++++++++-----------
5 files changed, 72 insertions(+), 23 deletions(-)
create mode 100644 xen/common/hdr-chk.c


base-commit: c0f890cd9d5fd2c17a1e3110cb26f98c90ce8429
--
2.30.2