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 | 682a04488e7b3bd6c3448ab60599566eb7c6177a (patch) | |
| tree | bdd19e6cc65a5b5f043b5e3850f0b3a270a4d864 /tools/lib/sys_string.h | |
| parent | 83ec905922b496e1a5756e3a88405eb6c2c6ba88 (diff) | |
| download | xen-682a04488e7b3bd6c3448ab60599566eb7c6177a.tar.gz xen-682a04488e7b3bd6c3448ab60599566eb7c6177a.tar.bz2 xen-682a04488e7b3bd6c3448ab60599566eb7c6177a.zip | |
libelf: move include of <asm/guest_access.h> to top of file
libelf-loader.c #includes <asm/guest_access.h>, when being compiled
for Xen. Currently it does this in the middle of the file.
Move this #include to the top of the file, before libelf-private.h.
This is necessary because in forthcoming patches we will introduce
private #defines of memcpy etc. which would interfere with definitions
in headers #included from guest_access.h.
No semantic or functional change in this patch.
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
