From 7e64d33c1849a2bee49a201fd2e4816762623c1f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 21 Apr 2015 15:15:00 +0200 Subject: [PATCH] shutdown.2: BUGS: UNIX domain sockets now detect invalid 'how' values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixed in Linux 3.7. See https://bugzilla.kernel.org/show_bug.cgi?id=47111 Reported-by: Stéphane Aulery Signed-off-by: Michael Kerrisk --- man2/shutdown.2 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/man2/shutdown.2 b/man2/shutdown.2 index ab39cfd88..da006d689 100644 --- a/man2/shutdown.2 +++ b/man2/shutdown.2 @@ -102,14 +102,16 @@ respectively, and are defined in .I since glibc-2.1.91. .SH BUGS -As currently implemented, -checks for the validity of +Checks for the validity of .I how -are done in domain-specific code, and not all domains perform these checks. -.\" FIXME . +are done in domain-specific code, +and before Linux 3.7 not all domains performed these checks. .\" https://bugzilla.kernel.org/show_bug.cgi?id=47111 -Most notably, UNIX domain sockets simply ignore invalid values; -this may change in the future. +Most notably, UNIX domain sockets simply ignored invalid values. +This problem was fixed for UNIX domain sockets +.\" commit fc61b928dc4d72176cf4bd4d30bf1d22e599aefc +.\" and for DECnet sockets in commit 46b66d7077b89fb4917ceef19b3f7dd86055c94a +in Linux 3.7. .SH SEE ALSO .BR connect (2), .BR socket (2),