Michael Kerrisk
7c81ac9ced
read.2: Remove crufty text about O_NONBLOCK on files
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700529
Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-14 02:13:20 +01:00
Michael Kerrisk
b0a6a72e8d
ip.7: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-14 01:24:47 +01:00
Michael Kerrisk
5eab557e9f
exit.3: Note that a call to execve() clears exit handler registrations
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-13 21:27:05 +01:00
Michael Kerrisk
4a38498543
getrpcent.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-13 00:15:00 +01:00
Michael Kerrisk
ad46346175
perfmonctl.2: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk
f2b29ffec5
perfmonctl.2: Briefly document PFM_GET_FEATURES, PFM_DEBUG, PFM_GET_PMC_RESET_VAL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk
88a657084c
perfmonctl.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk
3dfb8d01cd
perfmonctl.2: Minor reorganization
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk
0609db2aa2
perfmonctl.2: Rework discussion of PFM_CREATE_CONTEXT
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:38 +01:00
Michael Kerrisk
f25e7c8ecc
perfmonctl.2: Fix argument types for PFM_WRITE_PMCS, PFM_WRITE_PMDS, PFM_READ_PMDS
...
The types that were being used don't exist!
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:32 +01:00
Michael Kerrisk
65d669f4b0
perfmonctl.2: Minor rewording in RETURN VALUE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
439335f701
perfmonctl.2: Note that there is no glibc wrapper
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
39e10583d8
perfmonctl.2: Add VERSIONS and CONFORMING TO
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
06a2b63182
perfmonctl.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
734fd1f2ab
perfmonctl.2: Remove PFM_CREATE_EVTSETS, PFM_DELETE_EVTSETS, PFM_GETINFO_EVTSETS
...
These don't exist, and it appears they never have.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
3c7e310c16
perfmonctl.2: Various minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Ivana Varekova
55b9301b8f
perfmonctl.2: New page documenting IA-64-specific perfmonctl(2)
...
Taken from Red Hat downstream man pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Michael Kerrisk
b887a9d250
nss.5: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Ulrich Drepper
f387a2942a
nss.conf.5: New page describing nss.conf
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:29 +01:00
Michael Kerrisk
fe828902eb
getunwind.2: Much rewriting
...
Some text taken from arch/ia64/kernel/unwind.c.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:29 +01:00
Marcela Maslanova
4288c61864
getunwind.2: New page documenting getunwind(2)
...
Taken from Red Hat downstream man pages set
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:13 +01:00
Michael Kerrisk
625526ef06
getaddrinfo.3: SEE ALSO: Add gai.conf(5)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:00:10 +01:00
Michael Kerrisk
5f86385e27
gai.conf.5: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:00:10 +01:00
Ulrich Drepper
d97d06f750
gai.conf.5: New page documenting gai.conf
...
Taken from Red Hat downstream pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:00:10 +01:00
Michael Kerrisk
c534b25d95
ip.7: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:50:57 +01:00
Flavio Leitner
0a03fceb09
ip.7: Improve explanation about calling listen() or connect()
...
Problem:
When connect(2) is executed, the local port number may duplicate.
How reproducible:
When using parameter "net.ipv4.ip_local_port_range", a client may use
the same port to connect to the different sessions on the localhost.
Steps to Reproduce:
1.Change "net.ipv4.ip_local_port_range".
[Example]
net.ipv4.ip_local_port_range = 32768 32770
2.Connect to any two ports of LISTEN by telnet command.
[Example]
# netstat -antp | grep LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2828/smbd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2800/vsftpd
#
# telnet 127.0.0.1 139
# telnet 127.0.0.1 21
# telnet 127.0.0.1 21
3.Duplication of a local transmission port.
[Example]
# netstat -antp
tcp 0 0 127.0.0.1:32769 127.0.0.1:139 ESTABLISHED 18147/telnet
tcp 0 0 127.0.0.1:32769 127.0.0.1:21 ESTABLISHED 18157/telnet
Actual results:
The local port number may duplicate.
Expected results:
The local port number doesn't duplicate.
Additional info:
[Investigation]
"man 7 ip" contains following text:
-----------------------------------------------------------------
When listen(2) or connect(2) are called on an unbound socket, it
is automatically bound to a random free port with the local
address set to INADDR_ANY.
-----------------------------------------------------------------
Although indicated as "it is automatically bound to a random free
port", the port number which is not free like in a reproduce
procedure may be bound. Therefore, based on the description of
this "man 7 ip", it can be judged that it is bug to use the local
port where the process duplicated.
--- Comment by Leitner, Flavio on 2/7/2012 2:55 PM ---
It's allowed to have multiple tasks using the same port (as a
result of calling connect(2)) as long as the other connection
information (4-tuple) differs to resolve the conflict. Thus,
it must be an unique 4-tuple consisting of source and
destination IP addresses and port numbers to not conflict.
In the example, the dest port is different.
tcp 0 0 127.0.0.1:32769 127.0.0.1:139 ESTABLISHED 18147/telnet
tcp 0 0 127.0.0.1:32769 127.0.0.1:21 ESTABLISHED 18157/telnet
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:50:57 +01:00
Michael Kerrisk
5ab77f3dab
read.2: Clarify interaction of count==0 and error checking
...
POSIX deliberately leaves this case open, so the man
page should be less specific about what happens.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533232
Reported-by: Zack Weinberg <zackw@panix.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:50:51 +01:00
Michael Kerrisk
dc0e450b3e
read.2: Clarify details for seekable files
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 22:25:08 +01:00
Michael Kerrisk
45e97e2ac5
mmap.2: Some 'flags' values require a feature test macro to be defined
...
Add text to NOTES noting that some MAP_* constants are
defined only if a suitable feature test macro is defined.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542601
Reported-by: Török Edwin <edwintorok@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 21:38:36 +01:00
Michael Kerrisk
0c56d91757
getpeername.2: Clarify semantics of getpeername() for datagram sockets
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674034
Reported-by: Kai Kunschke <kai@kunfoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 21:26:38 +01:00
Michael Kerrisk
c2da6a279c
fattach.2, fdetach.2, getmsg.2, isastream.2, putmsg.2: New link to unimplement.2
...
Taken from Red Hat downstream.
See https://bugzilla.redhat.com/show_bug.cgi?id=436407
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:47:25 +01:00
Michael Kerrisk
6c900d05b4
unimplemented.2: Add varior STREAMS interfaces to NAME
...
Taken from Red Hat downstream.
See https://bugzilla.redhat.com/show_bug.cgi?id=436407
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:44:53 +01:00
Michael Kerrisk
16ce259f80
strtol.3: Remove crufty text from previous fix
...
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:21:09 +01:00
Michael Kerrisk
09f0c0a3b7
sln.8: Minor fixes
...
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 20:17:39 +01:00
Michael Kerrisk
7484d5a7dd
getrlimit.2, setgid.2, timerfd_create.2, wait.2, getenv.3, if_nameindex.3, scanf.3, aio.7, numa.7, rtld-audit.7, udplite.7: Fix order of SH sections
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:49:39 +01:00
Michael Kerrisk
ec18b51355
malloc_trim.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:35:42 +01:00
Michael Kerrisk
73354f23fa
malloc_trim.3: Remove duplicate section title
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:35:13 +01:00
Michael Kerrisk
887cbce127
getuid.2: Remove duplicate section heading
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:31:05 +01:00
Michael Kerrisk
563f46810b
strerror.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:20:37 +01:00
Michael Kerrisk
274f777fdd
pthread_testcancel.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:20:12 +01:00
Michael Kerrisk
eace948886
mtrace.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:19:45 +01:00
Michael Kerrisk
77b283186c
gettimeofday.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:19:00 +01:00
Michael Kerrisk
9c13072a0b
clone.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 11:18:34 +01:00
Michael Kerrisk
d13e20c2aa
Changes.old: Fixes to 3.47 changelog
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 10:58:22 +01:00
Michael Kerrisk
d7fd3ad1ec
Start of man-pages-3.48: updating Changes and Changes.old
2013-02-12 04:56:46 +01:00
Michael Kerrisk
bff938b738
Start of man-pages-3.48: updating .Announce and .lsm files
2013-02-12 04:56:46 +01:00
Michael Kerrisk
b6f93006d5
Start of man-pages-3.48: renaming .Announce and .lsm files
2013-02-12 04:56:46 +01:00
Michael Kerrisk
1a993c5f5c
Ready for 3.47
2013-02-12 04:52:53 +01:00
Michael Kerrisk
36127c0e91
Removed trailing white space at end of lines
2013-02-12 04:52:43 +01:00
Michael Kerrisk
69d4e5cd42
Changes: Ready for 3.47
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 04:52:14 +01:00