diff options
author | Juergen Gross <[email protected]> | 2022-03-07 09:48:55 +0100 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2022-03-07 09:48:55 +0100 |
commit | b0576cc9c6b843d99c6982888d59a56209341888 (patch) | |
tree | a1d13c5d27cdcfa83e148bfde177ee9a37e054bb /scripts/gcc-plugins/sancov_plugin.c | |
parent | 5cadd4bb1d7fc9ab201ac14620d1a478357e4ebd (diff) |
xen/pvcalls: use alloc/free_pages_exact()
Instead of __get_free_pages() and free_pages() use alloc_pages_exact()
and free_pages_exact(). This is in preparation of a change of
gnttab_end_foreign_access() which will prohibit use of high-order
pages.
This is part of CVE-2022-23041 / XSA-396.
Reported-by: Simon Gaiser <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
---
V4:
- new patch
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions