Commit Graph

126 Commits

Author SHA1 Message Date
Michael Kerrisk ef50679c63 Chage "file name" to "filename" 2006-02-12 22:23:18 +00:00
Michael Kerrisk c533af9d27 Reformatted FIXMEs 2006-02-10 18:46:42 +00:00
Michael Kerrisk 3a065ac06d wfix 2006-02-10 05:25:30 +00:00
Michael Kerrisk 3a20b4cafe ffix 2006-02-10 05:20:27 +00:00
Michael Kerrisk 9ff08aad91 Formatting fixes 2006-02-09 20:24:53 +00:00
Michael Kerrisk ad31978e25 Minor changes after suggestions from Robert Love. 2006-02-08 19:16:12 +00:00
Michael Kerrisk 92057f4dbc Updated FIXMEs 2006-02-08 09:44:13 +00:00
Michael Kerrisk 4d2b74dded New pages for inotify API 2006-02-08 04:13:22 +00:00
Michael Kerrisk 65b4e14d6a minor changes 2006-02-07 23:22:43 +00:00
Michael Kerrisk f6fa37d126 Minor wording and formatting fixes.
Added FIXME.
2006-02-07 22:48:42 +00:00
Michael Kerrisk 2ce70b17f2 Add text describing characters 001 to 037. 2006-02-02 17:41:49 +00:00
Michael Kerrisk b11b1181ef tfix 2006-02-01 18:36:21 +00:00
Michael Kerrisk 80b50848d0 Replace "SYSV" by "System V" 2006-01-13 09:44:53 +00:00
Michael Kerrisk b1afe07ac9 Small rewording of discussion of SO_BSDCOMPAT (add cross-ref to socket(7)). 2006-01-13 08:28:22 +00:00
Michael Kerrisk 6b4d3c70d5 typo fix 2006-01-13 08:17:15 +00:00
Michael Kerrisk 28d88c1751 Global change to many pages...
Various pages use inconsistent terms for 'null byte' (which
is the C99/SUSv3 term for the '\0' character).
To rectify this the following changes were made in these pages:

Replace 'zero byte' with 'null byte'.
Replace 'null character' with 'null byte'.
Replace 'nulls' with 'null bytes'.
Replace 'NUL-terminated' by 'null-terminated'.
Replace 'NUL' by 'null byte'.
Replace 'terminating NUL' by 'terminating null byte'.
Replace 'final NUL' by 'terminating null byte'.
Replace 'NUL character' by 'null byte'.
2006-01-13 02:09:44 +00:00
Michael Kerrisk f53ffc4f67 ffix 2006-01-04 09:21:10 +00:00
Michael Kerrisk 56185b42e7 Formatting and source code line break changes (no changes to content!) 2006-01-03 10:58:34 +00:00
Michael Kerrisk 78521872af Noted that capability bounding set appeared with kernel 2.2.11. 2006-01-02 13:33:24 +00:00
Michael Kerrisk 6d56395449 More wording changes for description of pipes. 2005-12-19 15:16:35 +00:00
Michael Kerrisk db21b6d910 Slight wording change to description of pipes. 2005-12-19 12:49:55 +00:00
Michael Kerrisk f406c335ef Noted details of SO_SNBUF and SO_RCVBUF support for Unix domain sockets. 2005-12-15 12:46:18 +00:00
Michael Kerrisk 17805f5b31 Noted the Linux-specific feature whereby setsockopt() doubles
the value given for SO_SNDBUF and SO_RCVBUF.

Noted kernel imposed minimum values for SO_SNDBUF and SO_RCVBUF.
2005-12-15 12:36:08 +00:00
Michael Kerrisk 8609725360 Added new (UN)SUPPORTED FEATURES section in which it is noted
that Unix domain sockets do not support MSG_OOB or MSG_MORE.
2005-12-14 16:36:17 +00:00
Michael Kerrisk 8b9d679941 Add + to unary operator list 2005-12-14 12:50:57 +00:00
Michael Kerrisk a917b0bb2c Small wording changes around discussion of SO_BSDCOMPAT.
Fixed a couple of wording errors elsewhere.
Reformatted some long lines.
2005-12-14 10:27:45 +00:00
Michael Kerrisk 514d7e5b92 Updated discussion of SO_BSDCOMPAT.
Reformatted some long lines.
2005-12-14 10:27:30 +00:00
Michael Kerrisk 9ae132041b Updated discussion of SO_BSDCOMPAT. 2005-12-14 10:27:10 +00:00
Michael Kerrisk 7199370f3a Further refinement of SO_TIMESTAMP from Urs Thuermann. 2005-12-13 10:46:50 +00:00
Michael Kerrisk 48afe71d57 Improvements after suggestions from Michael Haardt. 2005-12-09 14:23:53 +00:00
Michael Kerrisk 2adb3bd6da New page providing overview of pipes and FIFOs. 2005-12-08 18:52:42 +00:00
Michael Kerrisk 7b5c3d0a78 Von: Urs Thuermann <urs@isnogud.escape.de>
An: "Michael Kerrisk" <mtk-manpages@gmx.net>
Betreff: Re: PATCH: man-pages-2.15, socket option SO_TIMESTAMP
Datum: 02 Dec 2005 08:00:11 +0100

Hello Michael,

> Okay -- let me know if your patch is still good to go after you've
> done your reading/testing.  Maybe I will try to do another 
> man-page release tomorrow, if you you can confirm the details in 2.6.

I have compared 2.4 and 2.6 src again and wrote two small test
programs (one sending udp packets, one receiving the packets and
calling SIOCGSTAMP w/ and w/o SO_TIMESTAMP).  Both, 2.4 and 2.6 have
the same behavior, which may be considered a bug.

When a packet is received its timestamp is stored in the sock
structure in kernel for SIOCGSTAMP to be retreived if SO_TIMESTAMP is
not set, otherwise it is written into a cmsg structure to be returned
with the recvmsg syscall.

Therefore, SIOCGSTAMP doesn't get the correct timestamp, when
SO_TIMESTAMP is set.  Instead, SIOCGSTAMP returns an ENOENT error, if
there has never been a packet reception while SO_TIMESTAMP unset,
since the field in the sock structure in the kernel is initialized to
"no timestamp" (0 in 2.4, -1 in 2.6).  Otherwise, SIOCGSTAMP returns
the timestamp found in the sock structure which is from the last
packet when SO_TIMESTAMP was not set, i.e. it may not be the timestamp
of the last packet received.

I have updated the man page socket(7) accordingly.  Patch is below.

urs
2005-12-08 16:36:30 +00:00
Michael Kerrisk 17d9609858 Added FIXMEs 2005-12-08 16:19:38 +00:00
Michael Kerrisk 2b185f9296 Added FIXME 2005-12-05 16:22:59 +00:00
Michael Kerrisk 7562c4e6f2 Added FIXME 2005-12-05 16:20:34 +00:00
Michael Kerrisk bf71d57c68 Added some FIXMEs 2005-12-05 16:16:07 +00:00
Michael Kerrisk 26905f6a55 Noted 200 millisecond celing imposed on TCP_CORK. 2005-12-05 13:38:18 +00:00
Michael Kerrisk 59e8f714bd Clarification: s%SOCK_PACKET%PF_INET/SOCK_PACKET% 2005-12-01 10:12:56 +00:00
Michael Kerrisk 1415e84202 Fix a typo: s/SOCK_RAW/SOCK_PACKET/ 2005-12-01 10:09:34 +00:00
Michael Kerrisk d994d57949 Added text noting that select()/poll() do no respect SO_RCVLOWAT. 2005-11-30 16:09:42 +00:00
Michael Kerrisk ae67047c0c s/tcp_socket/udp_socket/ in example
Fixes Debian bug 340927
2005-11-30 08:38:58 +00:00
Michael Kerrisk 0b321ee459 Added entries to SEE ALSO 2005-11-29 16:52:11 +00:00
Michael Kerrisk 67a99ba02c Added a few words to reflect the fact that several of the section
7 pages provide overviews of various topics.
2005-11-22 16:35:17 +00:00
Michael Kerrisk 4f62997d55 Added pthreads.7 to SEE ALSO. 2005-11-17 13:38:34 +00:00
Michael Kerrisk fb8959ea57 Added FIXME? 2005-11-15 15:00:12 +00:00
Michael Kerrisk bd12ab88af Formatting fixes 2005-11-03 12:47:27 +00:00
Michael Kerrisk 8478ee0279 Formatting fixes 2005-11-02 13:55:25 +00:00
Michael Kerrisk 197889d00b Formatting fixes 2005-11-02 10:53:26 +00:00
Michael Kerrisk 35fb7de5c5 Added comment 2005-10-31 09:48:53 +00:00
Michael Kerrisk 3dfe7e0ddd Reworked part of the discussion of exec() and capabilities.
Added sub-section "Effect of User ID Changes on Capabilities".
Reworked discussion of CAP_SYS_ADMIN and file-max.
2005-10-28 17:41:30 +00:00