mirror of https://github.com/mkerrisk/man-pages
shutdown.2: BUGS: UNIX domain sockets now detect invalid 'how' values
Bug fixed in Linux 3.7. See https://bugzilla.kernel.org/show_bug.cgi?id=47111 Reported-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5b12fe6d92
commit
7e64d33c18
|
@ -102,14 +102,16 @@ respectively, and are defined in
|
|||
.I <sys/socket.h>
|
||||
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),
|
||||
|
|
Loading…
Reference in New Issue