Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357562

Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if one end is closed

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if one end is closed
Date 2016-03-14 20:20 +0100
Message-ID <rcGc2-82D-7@gated-at.bofh.it> (permalink)
References <raN7Y-yK-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexander Potapenko <glider@google.com>
Date: Wed,  9 Mar 2016 15:10:23 +0100

> According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET
> socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the
> socket is no longer connected.
> 
> Signed-off-by: Alexander Potapenko <glider@google.com>

Please format your Subject line properly, the format is:

	[PATCH] $SUBSYSTEM: $DESCRIPTION.

In this case "af_unx: " would be a proper subsystem marker.

Also,

> ---
> I used the following program to check the kernel behavior:

Please include this in your commit message rather than cutting it out
using the "---" marker, as it will help people in the future
understand your change and how you tested it.  More information is
always better than less information.

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if one end is closed Alexander Potapenko <glider@google.com> - 2016-03-09 15:20 +0100
  Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX  if one end is closed David Miller <davem@davemloft.net> - 2016-03-14 20:20 +0100
    Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if  one end is closed Alexander Potapenko <glider@google.com> - 2016-03-15 10:10 +0100

csiph-web