Skip to content

Commit 86cece8

Browse files
committed
Fix Linux availability version for SO_PEERSEC
1 parent 32ee0de commit 86cece8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/socket.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ Socket Option Linux FreeBSD Windows
314314
**SO_SETFIB** ✓ >= 7.1
315315
**SO_PASSCRED** ✓
316316
**SO_PEERCRED** ✓
317-
**SO_PASSSEC** ✓ >= 2.6.18
318-
**SO_PEERSEC** ✓ >= 2.6.18
317+
**SO_PASSSEC** ✓ >= 2.6.2
318+
**SO_PEERSEC** ✓ >= 2.6.2
319319
**SO_BINDTODEVICE** ✓
320320
**SO_PRIORITY** ✓
321321
**SO_MARK** ✓ >= 2.6.25
@@ -457,11 +457,11 @@ Socket Option Linux FreeBSD Windows
457457
SO_SNDTIMEO
458458

459459
Specifies the amount of time send and receive calls for this socket will
460-
block before timing out. The default timeout of zero means that operations
460+
block before timing out. The default timeout of zero means that operations
461461
will never time out.
462462

463463
This is independent of :meth:`~socket.settimeout`.
464-
464+
465465
On Linux this is a `struct timeval`, on Windows this is an integer.
466466

467467
.. Availability: Linux, Windows
@@ -505,7 +505,7 @@ Socket Option Linux FreeBSD Windows
505505

506506
.. versionadded:: 3.6
507507

508-
.. Availability: Linux >= 2.6.13
508+
.. Availability: Linux >= 2.6.2
509509
510510
.. data:: SO_BINDTODEVICE
511511

@@ -542,12 +542,12 @@ Socket Option Linux FreeBSD Windows
542542
Passing ``SO_DOMAIN`` to :meth:`~socket.getsockopt` allows for the retrival
543543
of the ``family`` value as defined in the :func:`socket.socket` function.
544544
``SO_PROTOCOL`` returns the ``proto`` value. The protocol value can be the
545-
exact protocol used such as ``IPPROTO_TCP`` even if 0 was passed in to specify
545+
exact protocol used such as ``IPPROTO_TCP`` even if 0 was passed in to specify
546546
the default protocol.
547-
547+
548548
Both these options are read only.
549549

550-
The value returned for the ``family`` is an integer which is the value of
550+
The value returned for the ``family`` is an integer which is the value of
551551
the constants above like :const:`AF_INET`. In order to get the const name
552552
value back you can use the AddressFamily enum. ::
553553

0 commit comments

Comments
 (0)