Re: [REVIEW][PATCH 16/22] signal/sh: Use force_sig_fault where appropriate

2018-05-28 Thread Geert Uytterhoeven
On Fri, Apr 20, 2018 at 4:55 PM, Rich Felker wrote: > On Fri, Apr 20, 2018 at 09:38:05AM -0500, Eric W. Biederman wrote: >> Filling in struct siginfo before calling force_sig_info a tedious and >> error prone process, where once in a great while the wrong fields >> are filled out, and siginfo has

Re: [REVIEW][PATCH 16/22] signal/sh: Use force_sig_fault where appropriate

2018-04-20 Thread Rich Felker
On Fri, Apr 20, 2018 at 09:38:05AM -0500, Eric W. Biederman wrote: > Filling in struct siginfo before calling force_sig_info a tedious and > error prone process, where once in a great while the wrong fields > are filled out, and siginfo has been inconsistently cleared. > > Simplify this process by

[REVIEW][PATCH 16/22] signal/sh: Use force_sig_fault where appropriate

2018-04-20 Thread Eric W. Biederman
Filling in struct siginfo before calling force_sig_info a tedious and error prone process, where once in a great while the wrong fields are filled out, and siginfo has been inconsistently cleared. Simplify this process by using the helper force_sig_fault. Which takes as a parameters all of the in