fix spurious EINTR errors from multithreaded set*id, etc.
commit 78a8ef47 inadvertently removed the SA_RESTART flag from the sigaction for the internal signal handler used by __synccall for broadcasting. as a result, programs which did not use interrupting signals but which used set*id() in a multithreaded context could wrongly observe EINTR errors they're not prepared to handle.
Showing
想要评论请 注册 或 登录