[PATCH 0/4] xen/xlat: Improvements to compat hypercall checking

Andrew Cooper posted 4 patches 2 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240415154155.2718064-1-andrew.cooper3@citrix.com
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
[PATCH 0/4] xen/xlat: Improvements to compat hypercall checking
Posted by Andrew Cooper 2 weeks, 2 days ago
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