[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 0/5] pmstat interface fixes
Clarify and fix usage of the pmstat hypervisor and tools interfaces regarding sizes of buffers passed in. Ross Lagerwall (5): x86/pmstat: Check size of PMSTAT_get_pxstat buffers public/sysctl: Clarify usage of pm_{px,cx}_stat cpufreq: Avoid potential buffer overrun and leak libxc/PM: Ensure pxstat buffers are correctly sized libxc/PM: Retry get_pxstat if data is incomplete tools/libs/ctrl/xc_pm.c | 20 ++++++-------- tools/misc/xenpm.c | 48 ++++++++++++++++++++------------ xen/drivers/acpi/pmstat.c | 6 ++-- xen/drivers/cpufreq/cpufreq.c | 4 ++- xen/include/public/sysctl.h | 52 +++++++++++++++++++++++++++-------- 5 files changed, 87 insertions(+), 43 deletions(-) -- 2.49.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |