[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/4] Fix mmap return checking
On Linux MAP_FAILED is not the same as NULL. Since lots of other calls check for MAP_FAILED, fix to use MAP_FAILED. tools/blktap/drivers/tapdisk.c does check for -1 not MAP_FAILED. I did not change since it was not clearly wrong. Don Slutz (3): loadpolicy.c: Fix return handling for case of mmap failure libxl_internal.c: Fix return handling for case of mmap failure xenbaked.c: Fix return handling for case of mmap failure Harry Hart (1): libxc/xc_linux_osdep.c: Fix return handling for case of mmap failure tools/flask/utils/loadpolicy.c | 2 +- tools/libxc/xc_linux_osdep.c | 5 +++++ tools/libxl/libxl_internal.c | 2 +- tools/xenmon/xenbaked.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) -- 1.8.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |