diff options
| author | Ian Jackson <ian.jackson@eu.citrix.com> | 2013-06-14 16:43:16 +0100 |
|---|---|---|
| committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2013-06-14 16:43:16 +0100 |
| commit | a672da4b2d58ef12be9d7407160e9fb43cac75d9 (patch) | |
| tree | 29587c7a1b5638d439947c62df32c0f8ac5381b9 /tools/lib/sys_string.h | |
| parent | 9737484becab4a25159f1e985700eaee89690d34 (diff) | |
| download | xen-a672da4b2d58ef12be9d7407160e9fb43cac75d9.tar.gz xen-a672da4b2d58ef12be9d7407160e9fb43cac75d9.tar.bz2 xen-a672da4b2d58ef12be9d7407160e9fb43cac75d9.zip | |
libxc: introduce xc_dom_seg_to_ptr_pages
Provide a version of xc_dom_seg_to_ptr which returns the number of
guest pages it has actually mapped. This is useful for callers who
want to do range checking; we will use this later in this series.
This is part of the fix to a security issue, XSA-55.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions
