diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-22 12:39:00 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-24 09:09:15 -0500 |
commit | 779c6befc03122c819d2f81a2052fac6a4a43536 (patch) | |
tree | 663d324d4a3635558ac8efd2c113d70330cfcc81 /linux-user/sh4/syscall.h | |
parent | 95533d5ffbdf3f45e8daa64477b63cf771376618 (diff) | |
download | qemu-779c6befc03122c819d2f81a2052fac6a4a43536.zip qemu-779c6befc03122c819d2f81a2052fac6a4a43536.tar.gz qemu-779c6befc03122c819d2f81a2052fac6a4a43536.tar.bz2 |
Make sure to zero out memory before calling madvise to increase robustness
Avi pointed out that it's not entirely safe to rely on madvise zeroing out
memory. So let's do it explicitly before calling madvise.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user/sh4/syscall.h')
0 files changed, 0 insertions, 0 deletions