This commit is contained in:
Michael Kerrisk 2007-12-16 13:57:00 +00:00
parent c7496b0388
commit 47433403b8
4 changed files with 18 additions and 8 deletions

View File

@ -85,7 +85,8 @@ in a call to
The Linux kernel imposes a limit on the number of available The Linux kernel imposes a limit on the number of available
Unix 98 pseudo-terminals. Unix 98 pseudo-terminals.
In kernels up to and including 2.6.3, this limit is configured In kernels up to and including 2.6.3, this limit is configured
at kernel compilation time (CONFIG_UNIX98_PTYS), at kernel compilation time
.RB ( CONFIG_UNIX98_PTYS ),
and the permitted number of pseudo-terminals can be up to 2048, and the permitted number of pseudo-terminals can be up to 2048,
with a default setting of 256. with a default setting of 256.
Since kernel 2.6.4, the limit is dynamically adjustable via Since kernel 2.6.4, the limit is dynamically adjustable via
@ -136,8 +137,15 @@ A description of the
which controls packet mode operation, can be found in which controls packet mode operation, can be found in
.BR tty_ioctl (4). .BR tty_ioctl (4).
The BSD ioctl(2)s TIOCSTOP, TIOCSTART, TIOCUCNTL, TIOCREMOTE have The BSD
not been implemented under Linux. .BR ioctl (2)
operations
.BR TIOCSTOP ,
.BR TIOCSTART ,
.BR TIOCUCNTL ,
and
.BR TIOCREMOTE
have not been implemented under Linux.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR select (2), .BR select (2),
.BR setsid (2), .BR setsid (2),

View File

@ -51,7 +51,7 @@ is not possible using raw sockets.
tab(:) allbox; tab(:) allbox;
c s c s
l l. l l.
IP Header fields modified on sending by IP_HDRINCL IP Header fields modified on sending by \fBIP_HDRINCL\fP
IP Checksum:Always filled in. IP Checksum:Always filled in.
Source Address:Filled in when zero. Source Address:Filled in when zero.
Packet Id:Filled in when zero. Packet Id:Filled in when zero.

View File

@ -444,7 +444,8 @@ in the system.
.I min .I min
- minimum size of the receive buffer used by each TCP socket. - minimum size of the receive buffer used by each TCP socket.
The default value is 4K, and is lowered to The default value is 4K, and is lowered to
PAGE_SIZE bytes in low-memory systems. .B PAGE_SIZE
bytes in low-memory systems.
This value This value
is used to ensure that in memory pressure mode, is used to ensure that in memory pressure mode,
allocations below this size will still succeed. allocations below this size will still succeed.
@ -537,7 +538,7 @@ corresponds to approximately 180 seconds.
Enable RFC\ 1323 TCP timestamps. Enable RFC\ 1323 TCP timestamps.
.TP .TP
.BR tcp_tw_recycle " (Boolean; default: disabled)" .BR tcp_tw_recycle " (Boolean; default: disabled)"
Enable fast recycling of TIME-WAIT sockets. Enable fast recycling of TIME_WAIT sockets.
Enabling this option is not Enabling this option is not
recommended since this causes problems when working recommended since this causes problems when working
with NAT (Network Address Translation). with NAT (Network Address Translation).
@ -545,7 +546,7 @@ with NAT (Network Address Translation).
.\" The following is from 2.6.12: Documentation/networking/ip-sysctl.txt .\" The following is from 2.6.12: Documentation/networking/ip-sysctl.txt
.TP .TP
.BR tcp_tw_reuse " (Boolean; default: disabled)" .BR tcp_tw_reuse " (Boolean; default: disabled)"
Allow to reuse TIME-WAIT sockets for new connections when it is Allow to reuse TIME_WAIT sockets for new connections when it is
safe from protocol viewpoint. safe from protocol viewpoint.
It should not be changed without advice/request of technical It should not be changed without advice/request of technical
experts. experts.

View File

@ -107,7 +107,8 @@ Linux's behavior is mandated by
For compatibility with legacy code in Linux 2.0 and 2.2 For compatibility with legacy code in Linux 2.0 and 2.2
it was possible to set the it was possible to set the
.B SO_BSDCOMPAT .B SO_BSDCOMPAT
SOL_SOCKET option to receive remote errors only when the socket has been .B SOL_SOCKET
option to receive remote errors only when the socket has been
connected (except for connected (except for
.B EPROTO .B EPROTO
and and