kernel: split syscall restart from signal handling
authorJens Axboe <axboe@kernel.dk>
Sat, 3 Oct 2020 13:10:57 +0000 (07:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Oct 2020 14:42:32 +0000 (08:42 -0600)
commit5d9886d112f9ad3406b1d30051c1df968bce4694
tree88318472b82e8a69837e9d1ea5697f8d42e98c93
parent049e78826524d84b23322eacc2946e1d7bf399fc
kernel: split syscall restart from signal handling

Move the restart syscall logic into a separate generic entry helper,
and handle that part separately from signal checking and delivery.

This is in preparation for being able to do syscall restarting
independently from handling signals.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/x86/kernel/signal.c
include/linux/entry-common.h
kernel/entry/common.c