From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U3TDqXBoYW5l?= Aulery Subject: Re: [patch] shutdown.2: POSIX compliant since version 3.7-rc1 Date: Wed, 22 Apr 2015 01:01:09 +0200 Message-ID: <20150421230109.GA22561@free.fr> References: <1424996516-10470-1-git-send-email-saulery@free.fr> <55364E18.4060005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <55364E18.4060005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Michael Kerrisk (man-pages)" Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org Hello Michael, Le mardi 21 avril 2015 =C3=A0 03:18:16, Michael Kerrisk (man-pages) a =C3= =A9crit : >=20 > On 02/27/2015 01:21 AM, saulery-GANU6spQydw@public.gmane.org wrote: > > From: St=C3=A9phane Aulery > >=20 > > Synchronizing the manpage with the new POSIX compliant behavior of = shutdown(). > > A warning message is kept to indicate possible problems with the ol= d behavior > > of UNIX domain sockets. > >=20 > > See bug report: https://bugzilla.kernel.org/show_bug.cgi?id=3D47111 > > > > Signed-off-by: St=C3=A9phane Aulery > > --- > > man2/shutdown.2 | 13 +++++-------- > > 1 file changed, 5 insertions(+), 8 deletions(-) > >=20 > > diff --git a/man2/shutdown.2 b/man2/shutdown.2 > > index ab39cfd..2174de3 100644 > > --- a/man2/shutdown.2 > > +++ b/man2/shutdown.2 > > @@ -102,14 +102,11 @@ respectively, and are defined in > > .I > > since glibc-2.1.91. > > .SH BUGS > > -As currently implemented, > > -checks for the validity of > > -.I how > > -are done in domain-specific code, and not all domains perform thes= e checks. > > -.\" FIXME . > > -.\" https://bugzilla.kernel.org/show_bug.cgi?id=3D47111 > > -Most notably, UNIX domain sockets simply ignore invalid values; > > -this may change in the future. > > +This implementation is POSIX compliant since version 3.7-rc1. Prev= iously, UNIX > > +domain and DECnet sockets simply ignored invalid values of > > +.IR how , > > +due to a domain-specific code. Applications that used invalid valu= es to > > +circumvent this lack should be corrected. > > .SH SEE ALSO > > .BR connect (2), > > .BR socket (2), >=20 > I think the above patch probably goes into a little too much detail. > I think few people care about DECnet these days, so I'd prefer not > to clutter the page with mention of it. >=20 > I instead applied the patch below. Thanks for spotting that this kern= el > bug had been fixed! Chic, even a bug in my list of conquests. Thank you Michael. > Cheers, --=20 St=C3=A9phane Aulery -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html