ip.7: Minor edits to Stephen Smalley's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-09-19 10:22:55 +02:00
parent 755b3ecb73
commit b5d7102ea4
1 changed files with 6 additions and 8 deletions

View File

@ -667,7 +667,7 @@ socket in an ancillary message of type
.B SCM_SECURITY
retrieved using
.BR recvmsg (2).
This option is only supported for UDP sockets; for TCP or SCTP sockets,
This option is supported only for UDP sockets; for TCP or SCTP sockets,
see the description of the
.B SO_PEERSEC
option below.
@ -685,16 +685,14 @@ is of the same format as the one described under the
.B SO_PEERSEC
option below.
.IP
NOTE: The reuse of the
Note: the reuse of the
.B SCM_SECURITY
message type
for the
message type for the
.B IP_PASSSEC
socket option was likely a mistake since other IP control messages use
socket option was likely a mistake, since other IP control messages use
their own numbering scheme in the IP namespace and often use the
socket option value as the message type. There is no conflict
currently since the IP option with the same value
as
socket option value as the message type.
There is no conflict currently since the IP option with the same value as
.B SCM_SECURITY
is
.B IP_HDRINCL