This commit is contained in:
Michael Kerrisk 2007-06-20 22:20:03 +00:00
parent 0b9bdf82fb
commit 7b2b5ea4fb
9 changed files with 12 additions and 12 deletions

View File

@ -127,7 +127,7 @@ On kernels before 2.4,
.BR fsync ()
on big files can be inefficient.
An alternative might be to use the
.I O_SYNC
.B O_SYNC
flag to
.BR open (2).
.SH "SEE ALSO"

View File

@ -130,9 +130,9 @@ In order to support applications requiring much more precise pauses
would handle pauses of up to 2\ ms by busy waiting with microsecond
precision when called from a process scheduled under a real-time policy
like
.I SCHED_FIFO
.B SCHED_FIFO
or
.IR SCHED_RR .
.BR SCHED_RR .
This special extension was removed in kernel 2.5.39,
hence is still present in
current 2.4 kernels, but not in 2.6 kernels.

View File

@ -62,7 +62,7 @@ argument.
If
.I swapflags
has the
.I SWAP_FLAG_PREFER
.B SWAP_FLAG_PREFER
bit turned on, the new swap area will have a higher priority than default.
The priority is encoded within
.I swapflags

View File

@ -120,7 +120,7 @@ This field may contain zero or more of the following flags:
If the signal handler interrupts a blocking system call,
then upon return from the handler the system call will not be restarted:
instead it will fail with the error
.IR EINTR .
.BR EINTR .
If this flag is not specified, then system calls are restarted
by default.
.TP

View File

@ -1176,7 +1176,7 @@ echo 100000 > /proc/sys/fs/file-max
.ft
The kernel constant
.I NR_OPEN
.B NR_OPEN
imposes an upper limit on the value that may be placed in
.IR file-max .

View File

@ -373,7 +373,7 @@ The IEEE 802.2/803.3 LLC handling could be considered as a bug.
Socket filters are not documented.
The
.I MSG_TRUNC
.B MSG_TRUNC
.BR recvmsg (2)
extension is an ugly hack and should be replaced by a control message.
There is currently no way to get the original destination address of

View File

@ -183,7 +183,7 @@ this option no longer has that effect.
By default raw sockets do path MTU (Maximum Transmission Unit) discovery.
This means the kernel
will keep track of the MTU to a specific target IP address and return
.I EMSGSIZE
.B EMSGSIZE
when a raw packet write exceeds it.
When this happens the application should decrease the packet size.
Path MTU discovery can be also turned off using the

View File

@ -191,7 +191,7 @@ and a valid signal handler for
must be installed via
.BR sigaction (2).
See the
.I SIGNALS
.I Signals
discussion below.
.SS Socket Options
These socket options can be set by using

View File

@ -48,14 +48,14 @@ Otherwise the socket layer will automatically assign
a free local port out of the range defined by
.I net.ipv4.ip_local_port_range
and bind the socket to
.IR INADDR_ANY .
.BR INADDR_ANY .
All receive operations return only one packet.
When the packet is smaller than the passed buffer only that much
data is returned, when it is bigger the packet is truncated and the
.B MSG_TRUNC
flag is set.
.I MSG_WAITALL
.B MSG_WAITALL
is not supported.
IP options may be sent or received using the socket options described in
@ -73,7 +73,7 @@ interface address and the packet is only sent to that interface.
By default Linux UDP does path MTU (Maximum Transmission Unit) discovery.
This means the kernel
will keep track of the MTU to a specific target IP address and return
.I EMSGSIZE
.B EMSGSIZE
when a UDP packet write exceeds it.
When this happens the application should decrease the packet size.
Path MTU discovery can be also turned off using the