Skip to content
Commit 9ee1206d authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

exec: Move io_uring_task_cancel after the point of no return

Now that unshare_files happens in begin_new_exec after the point of no
return, io_uring_task_cancel can also happen later.

Effectively this means io_uring activities for a task are only canceled
when exec succeeds.

Link: https://lkml.kernel.org/r/878saih2op.fsf@x220.int.ebiederm.org


Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent c39ab6de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment