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


Groups > linux.kernel > #1358037

Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE

From Eric Dumazet <eric.dumazet@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE
Date 2016-03-15 14:30 +0100
Message-ID <rcXcS-2D2-5@gated-at.bofh.it> (permalink)
References <rcT9f-8rY-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2016-03-15 at 10:03 +0100, Alexander Potapenko wrote:
> 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.

I find this sentence slightly confusing ?

If MSG_NOSIGNAL is set, then SIGPIPE should not be generated.

s/with/without/ maybe ?

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


Thread

[PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE Alexander Potapenko <glider@google.com> - 2016-03-15 10:10 +0100
  Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get  SIGPIPE Eric Dumazet <eric.dumazet@gmail.com> - 2016-03-15 14:30 +0100
    Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE Alexander Potapenko <glider@google.com> - 2016-03-15 15:40 +0100
  RE: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get  SIGPIPE David Laight <David.Laight@ACULAB.COM> - 2016-03-15 15:00 +0100
    Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE Alexander Potapenko <glider@google.com> - 2016-03-15 17:20 +0100

csiph-web