summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2020-03-31 00:33:39 +0300
committerEric W. Biederman <ebiederm@xmission.com>2020-05-11 20:08:48 +0300
commita28bf136e651e17d7e2c753aa140ce3cc1df36a0 (patch)
tree59d5b9fac27883ec10a233dad05a0dd64857d053 /scripts/gdb/linux/utils.py
parent13c432b51449dcdcfa0350fb87250b1dbd1fbd12 (diff)
downloadlinux-a28bf136e651e17d7e2c753aa140ce3cc1df36a0.tar.xz
exec: Run sync_mm_rss before taking exec_update_mutex
Like exec_mm_release sync_mm_rss is about flushing out the state of the old_mm, which does not need to happen under exec_update_mutex. Make this explicit by moving sync_mm_rss outside of exec_update_mutex. Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/875zd66za3.fsf_-_@x220.int.ebiederm.org Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions