Commit Graph

8162 Commits

Author SHA1 Message Date
Michael Kerrisk 72da9ef157 ldd.1, execve.2, getdents.2, quotactl.2, select_tut.2, clock_getcpuclockid.3, fopencookie.3, getservent_r.3, matherr.3, mq_notify.3, pthread_create.3, pthread_getattr_np.3, wordexp.3: Global fix: s/-/\\-/ when real hyphen is required (e.g., in code)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-29 12:14:08 +02:00
Michael Kerrisk 352c778d01 semop.2: Recast discussion of blocking behavior in terms of threads
semop() blocks the calling thread, not the process.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:59:11 +02:00
Michael Kerrisk 77ba6370c2 semop.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:45:23 +02:00
Michael Kerrisk f81b78a4ca semop.2: SEE ALSO: Add clone(2)
Give reader a clue about CLONE_SYSVSEM.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 12:43:52 +02:00
Michael Kerrisk eb58a74c8c ld.so.8: Add some details for LD_PRELOAD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk 15d116d5c9 ld.so.8: Describe interpretation of slashes in dependency strings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk 8e9ea025e1 ld.so.8: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk de6d7600bf ld.so.8: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk d9839d46f3 ld.so.8: Repeat note that LD_LIBRARY_PATH is ignored in privileged programs
This point is already noted when discussing search order for
libraries, but it's woth repeating under the specific discussion
of LD_LIBRARY_PATH further down the page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk df7ef2672f ld.so.8: Note that LD_PRELOAD list separator can be space or colon
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:20 +02:00
Michael Kerrisk 24d989e596 ld.so.8: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:19 +02:00
Michael Kerrisk 7bc74c600d gnu_get_libc_version.3: Remove unneeded "#define _GNU_SOURCE" from SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-27 00:53:19 +02:00
Michael Kerrisk 5484b544f9 Changes.old: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-24 09:29:49 +02:00
Michael Kerrisk 2e72e99169 select.2: Clarify equivalent pslect() code in terms of threads
s/sigprogmask/pthread_sigmask/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:29:04 +02:00
Michael Kerrisk 34ef249eb7 pthread_kill.3, pthread_sigqueue.3: Remove wording "another"
Writing "another thread" in these pages implies that these
functions can't be used to send a signal to the calling thread
itself, which is of course untrue.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:28:56 +02:00
Michael Kerrisk 760655c297 getenv.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:28:19 +02:00
Michael Kerrisk 5adf628119 clock_nanosleep.2: wfix: s/SA_SIGACTION/SA_RESTART/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:28:19 +02:00
Michael Kerrisk 67914165b3 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:28:19 +02:00
Michael Kerrisk 055024ed2e proc.5: Update description of 'starttime' field of /proc/PID/stat
The unit of measurement changed from jiffies to clock ticks in
Linux 2.6.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675891

Reported-by: Frédéric Brière <fbriere@fbriere.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-22 15:27:31 +02:00
Simon Josefsson dee998a215 syslog.3: Remove (apparently bogus) text claiming LOG_AUTH is deprecated
LOG_AUTH is in POSIX, and widely available. There
seems to be no basis to the claim it is deprecated.

Quoting Simon:
    I cannot find any other source that claim LOG_AUTH is
    deprecated in any way.  LOG_AUTH is distinct from
    LOG_AUTHPRIV.  The GNU C Library manual only documents
    LOG_AUTH.  The header files contains both without any
    comment.  Common systems like Debian appear to refer to
    both auth and authpriv facilities in syslog configurations.
    Popular daemons appear to use both facilities.
    Both facilities are discussed in several RFCs.

See https://bugzilla.kernel.org/show_bug.cgi?id=46091

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 15:02:42 +02:00
Michael Kerrisk 67378c4842 epoll_wait.2: Add pointer to select(2) for discussion of close in another thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:41:35 +02:00
Michael Kerrisk f33050d604 poll.2: Add pointer to select(2) for discussion of close in another thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 10ed041e56 select.2: Note behavior if monitored file descriptor is closed in another thread
Executive summary: a sane application can't rely on any
particular behavior if another thread closes a file descriptor
being monitored by select().

See https://bugzilla.kernel.org/show_bug.cgi?id=40852

Reported-by: Stephane Fillod <fillods@users.sf.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 8c1d94ae86 select.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:48 +02:00
Michael Kerrisk 355f61b5bc epoll_wait.2: Describe timeout limitation in kernels < 2.6.37
As reported by Fredrik (and as far as I can tell the problem
went back to 2.6.0):

The timeout argument has an upper limit. Any values above that
limit are treated the same as -1, i.e. to wait indefinitely.
The limit is given by:

    #define EP_MAX_MSTIMEO min(1000ULL * MAX_SCHEDULE_TIMEOUT / HZ, \
	(LONG_MAX - 999ULL) / HZ)

That is, the limit depends on the size of a long and the timer
frequency.  Assuming the a long is never smaller than 32 bits
and HZ never larger than 1000, the worst case is 35 minutes.
I think this should be mentioned under "BUGS".

Although this is likely to be fixed in the future
(http://lkml.org/lkml/2010/8/8/144), the problem exists in
at least 2.6.14 - 2.6.35. I don't know if select(2) and poll(2)
are affected.

https://bugzilla.kernel.org/show_bug.cgi?id=20762

Reported-by: Fredrik Arnerup <arnerup@kth.se>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-17 08:36:28 +02:00
Michael Kerrisk de54b4ec24 slabinfo.5: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-16 10:48:24 +02:00
Michael Kerrisk 2e2c032fe3 iso_8859-1.7: Minor fixes
Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 21:17:05 +02:00
Michael Kerrisk 00702accc4 proc.5: Clarify header file referred related to 'flags' field of /proc/PID/stat
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 21:10:51 +02:00
Michael Kerrisk 454910ee9e secure_getenv.3: New link to getenv.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 10:59:38 +02:00
Michael Kerrisk 4e1927c6ec getenv.3: Document secure_getenv(3)
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 10:59:38 +02:00
Michael Kerrisk e82600ef6e Start of man-pages-3.43: updating Changes and Changes.old 2012-08-14 00:46:52 +02:00
Michael Kerrisk 1a7006aaaf Start of man-pages-3.43: updating .Announce and .lsm files 2012-08-14 00:46:52 +02:00
Michael Kerrisk 7b9aa80d7e Start of man-pages-3.43: renaming .Announce and .lsm files 2012-08-14 00:46:52 +02:00
Michael Kerrisk a560d1bfbb Ready for 3.42 2012-08-14 00:39:31 +02:00
Michael Kerrisk 11c85ed875 Removed trailing white space at end of lines 2012-08-14 00:39:21 +02:00
Michael Kerrisk bf42aad4a7 mprotect.2, syscall.2, realpath.3, iso_8859-1.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:37:33 +02:00
Michael Kerrisk 986bc4a267 Changes: Ready for 3.42
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:29:05 +02:00
Bjarni Ingi Gislason 383d58e9c7 iso_8859-1.7: Explanation of SOFT HYPHEN and the code for it
<groff: iso_8859-2.7>:89: warning: can't find special character `shc'

This is the only "iso_8859-*.7" file that has this (now)
undefined character.  The code in column four in "iso_8859-1.7" is
"0x2D" ("HYPHEN, MINUS SIGN" or "HYPHEN-MINUS") instead of "0xAD".
See Debian bug 156154 (or package "manpages").

There should be an explanation for this graphic character and the
code should be 0xAD in iso_8859-1.7 (as in all others), even
though "[gn]roff" does not display a "HYPHEN" in that position of
the table.

The line with "SOFT HYPHEN" gets a footnote and a short
explanation.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:10:43 +02:00
Michael Kerrisk 4832b48ab0 futex.2: Fix description of EINVAL error
The current text seems incorrect. Replace with a more general
description.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:10:36 +02:00
Michael Kerrisk e808bba0ff futex.2: Various wording fix-ups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:50:26 +02:00
Марк Коренберг 9f6c40c0e6 futex.2: Consolidate error descriptions to ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:25:13 +02:00
Michael Kerrisk a2f11be3c1 mprotect.2: 'addr' argument is not const
As reported by Rasmus:

    Both my system's man-pages (3.22) and the latest online
    (3.41) show:

        int mprotect(const void *addr, size_t len, int prot);

    as the prototype for mprotect(2). However, POSIX [1] and the
    actual sys/mman.h (on all the systems I checked) do not have
    the const qualifier on the first argument.

Reported-by: Rasmus Villemoes <Rasmus.Villemoes@decode.is>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 14:00:29 +02:00
Sami Kerola 608bf95023 capget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinfo.3, netlink.3, cciss.4, console_codes.4, dsp56k.4, hpsa.4, sk98lin.4, filesystems.5, protocols.5, aio.7, capabilities.7, charsets.7, feature_test_macros.7, futex.7, hier.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, libc.7, man.7, netlink.7, numa.7, standards.7, unicode.7, units.7, uri.7, x25.7: Global fix: use UR macro where applicable
The syntax .UR http://example.com paired with .UE will create
links which one can interact, if the pager allows that.  One
way to see the effect is ask the man(1) command to use browser
display, e.g.:

    man -H man7/uri.7

("\:" is optional groff syntax to permit hyphenless line breaks.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 10:02:36 +02:00
Shawn Landden dbe8b62bd7 realpath.3: Use past tense with ancient history (libc4, libc5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:36:47 +02:00
Tolga Dalman 2b5407af0c proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:30:21 +02:00
Michael Kerrisk 6edb20bcd8 migrate_pages.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:26:21 +02:00
David Prévot 1de7d4a1af strcpy.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:25:39 +02:00
David Prévot d4dfdd5b16 strcat.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:24:22 +02:00
David Prévot 62389489eb readdir.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:23:41 +02:00
David Prévot b0b1d9b517 ptrace.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:22:34 +02:00