diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2016-10-27 16:10:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-31 10:51:16 +0100 |
commit | 98c1076cc9a3ccebd1316fecf65149f6052a24fc (patch) | |
tree | 10573bb95a5f21a5c19732e5ee7454edf4070234 /exec.c | |
parent | 7d7500d99895f888f97397ef32bb536bb0df3b74 (diff) |
linux-user/elfload: ensure mmap_lock() held while setting up
Future patches will enforce the holding of mmap_lock() when we are
manipulating internal memory structures. Technically it doesn't matter
in the case of elfload as we haven't started executing yet. However it
is easier to grab the lock when required than special case the
translate-all API.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20161027151030.20863-8-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions