[PATCH] nptl: Use SA_RESTART for SIGCANCEL handler
Florian Weimer
fweimer@redhat.com
Tue Jun 22 19:51:29 GMT 2021
* Adhemerval Zanella:
> * The pthread cancellation handler is now installed with SA_RESTART
> and pthread_cancel will always send the internal SIGCANCEL on a
> cancellation request. It should not be visible to application since
> the cancellation handler should either act upon cancellation (if
> asynchronous cancellation is enabled) or ignore the cancellation
> internal signal. However there is buggy kernel interfaces (for
> instance some CIFS modules) that could still see spurious EINTR
> error when cancellation interrupts a blocking syscall.
Suggest: “some CIFS [versions]”
Rest looks okay to me, thanks.
Florian
More information about the Libc-alpha
mailing list