diff options
author | 2018-09-18 01:23:35 +0200 | |
---|---|---|
committer | 2018-09-21 15:03:05 +0200 | |
commit | 9db812dbb29d6244a9192e220deebdbc0080b38c (patch) | |
tree | bd1738dc99c140cfa955bef253d2fd135fcd8430 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | signal/x86: Pass pkey not vma into __bad_area (diff) | |
download | linux-dev-9db812dbb29d6244a9192e220deebdbc0080b38c.tar.xz linux-dev-9db812dbb29d6244a9192e220deebdbc0080b38c.zip |
signal/x86: Call force_sig_pkuerr from __bad_area_nosemaphore
There is only one code path that can generate a pkuerr signal. That
code path calls __bad_area_nosemaphore and can be dectected by testing
if si_code == SEGV_PKUERR. It can be seen from inspection that all of
the other tests in fill_sig_info_pkey are unnecessary.
Therefore call force_sig_pkuerr directly from __bad_area_semaphore and
remove fill_sig_info_pkey.
At the same time move the comment above force_sig_info_pkey into
bad_area_access_error, so that the documentation about pkey generation
races is not lost.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions