Christian Brauner writes:
2> On Tue, May 29, 2018 at 07:28:27AM -0500, Eric W. Biederman wrote:
>> Christian Brauner writes:
>>
>> > Let's return early when lock_task_sighand() fails and move send_signal()
>> > and unlock_task_sighand() out of the if block.
>>
>> Introducing multiple exits int
On Tue, May 29, 2018 at 07:28:27AM -0500, Eric W. Biederman wrote:
> Christian Brauner writes:
>
> > Let's return early when lock_task_sighand() fails and move send_signal()
> > and unlock_task_sighand() out of the if block.
>
> Introducing multiple exits into a function. Ick.
> You do know tha
Christian Brauner writes:
> Let's return early when lock_task_sighand() fails and move send_signal()
> and unlock_task_sighand() out of the if block.
Introducing multiple exits into a function. Ick.
You do know that is what Dijkstra was arguing against in his paper
"Goto Considered Harmful"
Th
Let's return early when lock_task_sighand() fails and move send_signal()
and unlock_task_sighand() out of the if block.
Signed-off-by: Christian Brauner
---
v0->v1:
* patch unchanged
---
kernel/signal.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/signal.
4 matches
Mail list logo