summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorEric W. Biederman2019-05-23 17:17:27 +0200
committerEric W. Biederman2019-05-27 16:36:28 +0200
commit3cf5d076fb4d48979f382bc9452765bf8b79e740 (patch)
tree935f7af65a7a7f1ba514f1da5b207e2dc298eaca /arch/x86/mm
parentsignal: Remove task parameter from force_sigsegv (diff)
downloadkernel-qcow2-linux-3cf5d076fb4d48979f382bc9452765bf8b79e740.tar.gz
kernel-qcow2-linux-3cf5d076fb4d48979f382bc9452765bf8b79e740.tar.xz
kernel-qcow2-linux-3cf5d076fb4d48979f382bc9452765bf8b79e740.zip
signal: Remove task parameter from force_sig
All of the remaining callers pass current into force_sig so remove the task parameter to make this obvious and to make misuse more difficult in the future. This also makes it clear force_sig passes current into force_sig_info. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/mpx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c
index 0d1c47cbbdd6..895fb7a9294d 100644
--- a/arch/x86/mm/mpx.c
+++ b/arch/x86/mm/mpx.c
@@ -912,7 +912,7 @@ void mpx_notify_unmap(struct mm_struct *mm, unsigned long start,
ret = mpx_unmap_tables(mm, start, end);
if (ret)
- force_sig(SIGSEGV, current);
+ force_sig(SIGSEGV);
}
/* MPX cannot handle addresses above 47 bits yet. */