lkml.org 
[lkml]   [2013]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Change SIGPIPE's siginfo.si_code from SI_USER to SI_KERNEL.
On 07/03, Denys Vlasenko wrote:
>
> @@ -514,7 +514,7 @@ pipe_write(struct kiocb *iocb, const struct iovec *_iov,
> __pipe_lock(pipe);
>
> if (!pipe->readers) {
> - send_sig(SIGPIPE, current, 0);
> + send_sig(SIGPIPE, current, 1);

Honestly, I simply have no idea what makes more sense in this case...
But I am not sure about this user-visible change. It can break
something and for what?

And if you do this then I guess you should also change net/.

Oleg.



\
 
 \ /
  Last update: 2013-07-03 22:21    [W:0.039 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site