signal: Explicitly call force_sig_fault on current
Update the calls of force_sig_fault that pass in a variable that is set to current earlier to explicitly use current. This is to make the next change that removes the task parameter from force_sig_fault easier to verify. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
@@ -271,7 +271,7 @@ bad_area_nosemaphore:
|
||||
tsk->thread.address = addr;
|
||||
tsk->thread.error_code = error_code;
|
||||
tsk->thread.trap_no = entry;
|
||||
force_sig_fault(SIGSEGV, si_code, (void __user *)addr, tsk);
|
||||
force_sig_fault(SIGSEGV, si_code, (void __user *)addr, current);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -340,7 +340,7 @@ do_sigbus:
|
||||
tsk->thread.address = addr;
|
||||
tsk->thread.error_code = error_code;
|
||||
tsk->thread.trap_no = entry;
|
||||
force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)addr, tsk);
|
||||
force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)addr, current);
|
||||
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user