Re: [PATCH v2 05/17] signal: simplify rt_sigaction()

2018-06-01 Thread Oleg Nesterov
On 06/01, Christian Brauner wrote: > > The goto is not needed and does not add any clarity. Simply return -EINVAL > on unexpected sigset_t struct size directly. Agreed, sys_rt_sigaction() looks just ugly and mixes goto/return on failure, ACK

[PATCH v2 05/17] signal: simplify rt_sigaction()

2018-06-01 Thread Christian Brauner
The goto is not needed and does not add any clarity. Simply return -EINVAL on unexpected sigset_t struct size directly. Signed-off-by: Christian Brauner --- v1->v2: * [Christoph Hellwig] additional cleanups v0->v1: * unchanged --- kernel/signal.c | 22 ++ 1 file changed, 10 i