]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
12 years agotime.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r...
Michael Kerrisk [Wed, 26 Sep 2012 21:56:54 +0000 (23:56 +0200)] 
time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Revert 9f8e673e623d (whose global s%\\e%\\\\% caused problems)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosched_get_priority_max.2, sched_setparam.2, sched_setaffinity.2, sched_setscheduler...
Michael Kerrisk [Tue, 25 Sep 2012 04:34:17 +0000 (06:34 +0200)] 
sched_get_priority_max.2, sched_setparam.2, sched_setaffinity.2, sched_setscheduler.2, timer_create.2, malloc.3, pthread_attr_init.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_getattr_np.3, pthread_cancel.3, pthread_create.3, pthread_setschedparam.3, pthread_setschedprio.3, aio.7, time.7: Global ffix: disable justification and hyphenation in SEE ALSO

For a better visual result, disable justification and hyphenation
in SEE ALSO where page names are long.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoman-pages.7: Add some advice about disabling hyphenation in SEE ALSO
Michael Kerrisk [Tue, 25 Sep 2012 04:19:44 +0000 (06:19 +0200)] 
man-pages.7: Add some advice about disabling hyphenation in SEE ALSO

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agokeyctl.2: ffix: prevent hyphenation and justification under SEE ALSO
Michael Kerrisk [Tue, 25 Sep 2012 04:05:33 +0000 (06:05 +0200)] 
keyctl.2: ffix: prevent hyphenation and justification under SEE ALSO

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agokeyctl.2: Reorder SEE ALSO, without .br
David Prévot [Tue, 25 Sep 2012 04:00:07 +0000 (06:00 +0200)] 
keyctl.2: Reorder SEE ALSO, without .br

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agopthread_yield.3: tfix
David Prévot [Tue, 25 Sep 2012 03:57:51 +0000 (05:57 +0200)] 
pthread_yield.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agopthread_sigmask.3: tfix
David Prévot [Tue, 25 Sep 2012 03:57:31 +0000 (05:57 +0200)] 
pthread_sigmask.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agopthread_kill.3: tfix
David Prévot [Tue, 25 Sep 2012 03:57:15 +0000 (05:57 +0200)] 
pthread_kill.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agomallopt.3: tfix
David Prévot [Tue, 25 Sep 2012 03:56:56 +0000 (05:56 +0200)] 
mallopt.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agomcheck.3: srcfix: Remove already fixed FIXMEs
David Prévot [Tue, 25 Sep 2012 03:55:34 +0000 (05:55 +0200)] 
mcheck.3: srcfix: Remove already fixed FIXMEs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agorandom.4: ffix
David Prévot [Tue, 25 Sep 2012 03:54:43 +0000 (05:54 +0200)] 
random.4: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agotime.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r...
Michael Kerrisk [Mon, 24 Sep 2012 08:23:07 +0000 (10:23 +0200)] 
time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Global fix: use \\ rather than \e for literal backslash

Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosyscalls.2, uname.2, boot.7: Global fix: s/OS/operating system/
Michael Kerrisk [Mon, 24 Sep 2012 08:05:20 +0000 (10:05 +0200)] 
syscalls.2, uname.2, boot.7: Global fix: s/OS/operating system/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agobdflush.2, get_robust_list.2, kexec_load.2, madvise.2, mmap.2, mount.2, prctl.2,...
Michael Kerrisk [Mon, 24 Sep 2012 08:02:34 +0000 (10:02 +0200)] 
bdflush.2, get_robust_list.2, kexec_load.2, madvise.2, mmap.2, mount.2, prctl.2, query_module.2, rt_sigqueueinfo.2, shmget.2, sigaction.2, syscalls.2, umount.2, malloc.3, hpsa.4, initrd.4, proc.5, bootparam.7, icmp.7, netlink.7, signal.7: Global fix: use "Linux kernel source" consistently

Rather than "kernel source".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agonscd.conf.5: spfix
Michael Kerrisk [Mon, 24 Sep 2012 08:00:15 +0000 (10:00 +0200)] 
nscd.conf.5: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoarch_prctl.2, fcntl.2, flock.2, get_robust_list.2, getpriority.2, ioprio_set.2, migra...
David Prévot [Mon, 24 Sep 2012 07:53:22 +0000 (09:53 +0200)] 
arch_prctl.2, fcntl.2, flock.2, get_robust_list.2, getpriority.2, ioprio_set.2, migrate_pages.2, mmap.2, mremap.2, msync.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, socket.2, subpage_prot.2, unshare.2, btree.3, dbopen.3, dl_iterate_phdr.3, dlopen.3, getnameinfo.3, hash.3, lockf.3, netlink.3, recno.3, rpc.3, xdr.3, cciss.4, console_ioctl.4, hpsa.4, initrd.4, msr.4, rtc.4, st.4, hosts.5, services.5, tzfile.5, aio.7, arp.7, capabilities.7, cpuset.7, feature_test_macros.7, futex.7, inotify.7, ip.7, ipv6.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, math_error.7, netlink.7, packet.7, pthreads.7, raw.7, spufs.7, udplite.7, uri.7, x25.7: Global fix: Various consistency fixes for SEE ALSO

Coauthored-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agostat.2: tfix
Guillem Jover [Sun, 23 Sep 2012 15:01:46 +0000 (17:01 +0200)] 
stat.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agotsearch.3: ffix
David Prévot [Sun, 23 Sep 2012 14:41:11 +0000 (16:41 +0200)] 
tsearch.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoregex.3: tfix
David Prévot [Sun, 23 Sep 2012 14:39:42 +0000 (16:39 +0200)] 
regex.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agocpuid.4: ffix
David Prévot [Sun, 23 Sep 2012 14:38:25 +0000 (16:38 +0200)] 
cpuid.4: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agogetutent.3: ffix
David Prévot [Sun, 23 Sep 2012 14:37:35 +0000 (16:37 +0200)] 
getutent.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosyscalls.2: ffix
David Prévot [Sun, 23 Sep 2012 14:35:42 +0000 (16:35 +0200)] 
syscalls.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoldd.1: ffix
David Prévot [Sun, 23 Sep 2012 14:30:10 +0000 (16:30 +0200)] 
ldd.1: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoinotify.7: tfix
Michael Kerrisk [Sun, 23 Sep 2012 14:07:33 +0000 (16:07 +0200)] 
inotify.7: tfix

Reported-by: Anatoli Klassen <anatoli@aksoft.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agowait4.2: Note that these functions are nonstandard and recommend alternatives
Adrian Bunk [Sun, 23 Sep 2012 14:02:54 +0000 (16:02 +0200)] 
wait4.2: Note that these functions are nonstandard and recommend alternatives

Some edits to Adrian's path by mtk.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agowait4.2: CONFORMING TO: Note SUS details for wait3()
Michael Kerrisk [Sun, 23 Sep 2012 13:50:58 +0000 (15:50 +0200)] 
wait4.2: CONFORMING TO: Note SUS details for wait3()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoaio_write.3: tfix
Yuri Kozlov [Sun, 23 Sep 2012 13:38:22 +0000 (15:38 +0200)] 
aio_write.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosigaction.2: wfix
Michael Kerrisk [Sun, 23 Sep 2012 04:32:05 +0000 (06:32 +0200)] 
sigaction.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosigaction.2: Tweak SA_RESETHAND description
Michael Kerrisk [Sun, 23 Sep 2012 04:31:00 +0000 (06:31 +0200)] 
sigaction.2: Tweak SA_RESETHAND description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoshutdown.2: Document EINVAL error (and associated bug)
Michael Kerrisk [Thu, 6 Sep 2012 09:42:51 +0000 (11:42 +0200)] 
shutdown.2: Document EINVAL error (and associated bug)

Eric Dumazet noted that EINVAL was not documented. Some further
digging shows that it's also not diagnosed consistently.
See https://bugzilla.kernel.org/show_bug.cgi?id=47111.

Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosigvec.3: Add "int" arg to sv_handler definition in sigvec structure
Michael Kerrisk [Thu, 6 Sep 2012 07:36:43 +0000 (09:36 +0200)] 
sigvec.3: Add "int" arg to sv_handler definition in sigvec structure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosigvec.3: Fix small error in discussion of blocking of signals
Michael Kerrisk [Thu, 6 Sep 2012 07:09:58 +0000 (09:09 +0200)] 
sigvec.3: Fix small error in discussion of blocking of signals

The signal that causes the handler to be invoked is blocked,
but saying "by default" implies that this can be changed via
the API. It cannot. (One needs sigaction(2) for that.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosigvec.3: grfix
Michael Kerrisk [Thu, 6 Sep 2012 06:55:22 +0000 (08:55 +0200)] 
sigvec.3: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agofts.3: tfix
Michael Kerrisk [Wed, 29 Aug 2012 10:08:44 +0000 (12:08 +0200)] 
fts.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoldd.1, execve.2, getdents.2, quotactl.2, select_tut.2, clock_getcpuclockid.3, fopenco...
Michael Kerrisk [Wed, 29 Aug 2012 10:04:28 +0000 (12:04 +0200)] 
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>
12 years agosemop.2: Recast discussion of blocking behavior in terms of threads
Michael Kerrisk [Mon, 27 Aug 2012 10:59:11 +0000 (12:59 +0200)] 
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>
12 years agosemop.2: Minor rewording
Michael Kerrisk [Mon, 27 Aug 2012 10:45:23 +0000 (12:45 +0200)] 
semop.2: Minor rewording

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosemop.2: SEE ALSO: Add clone(2)
Michael Kerrisk [Mon, 27 Aug 2012 10:43:52 +0000 (12:43 +0200)] 
semop.2: SEE ALSO: Add clone(2)

Give reader a clue about CLONE_SYSVSEM.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: Add some details for LD_PRELOAD
Michael Kerrisk [Sun, 26 Aug 2012 21:08:59 +0000 (23:08 +0200)] 
ld.so.8: Add some details for LD_PRELOAD

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: Describe interpretation of slashes in dependency strings
Michael Kerrisk [Sun, 26 Aug 2012 21:01:34 +0000 (23:01 +0200)] 
ld.so.8: Describe interpretation of slashes in dependency strings

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: srcfix
Michael Kerrisk [Sun, 26 Aug 2012 20:50:06 +0000 (22:50 +0200)] 
ld.so.8: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: grfix
Michael Kerrisk [Sun, 26 Aug 2012 18:34:10 +0000 (20:34 +0200)] 
ld.so.8: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: Repeat note that LD_LIBRARY_PATH is ignored in privileged programs
Michael Kerrisk [Sun, 26 Aug 2012 18:26:45 +0000 (20:26 +0200)] 
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>
12 years agold.so.8: Note that LD_PRELOAD list separator can be space or colon
Michael Kerrisk [Sun, 26 Aug 2012 13:41:30 +0000 (15:41 +0200)] 
ld.so.8: Note that LD_PRELOAD list separator can be space or colon

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agold.so.8: tfix
Michael Kerrisk [Sun, 26 Aug 2012 13:38:51 +0000 (15:38 +0200)] 
ld.so.8: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agognu_get_libc_version.3: Remove unneeded "#define _GNU_SOURCE" from SYNOPSIS
Michael Kerrisk [Sun, 26 Aug 2012 13:57:47 +0000 (15:57 +0200)] 
gnu_get_libc_version.3: Remove unneeded "#define _GNU_SOURCE" from SYNOPSIS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoChanges.old: spfix
Michael Kerrisk [Fri, 24 Aug 2012 07:29:49 +0000 (09:29 +0200)] 
Changes.old: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoselect.2: Clarify equivalent pslect() code in terms of threads
Michael Kerrisk [Sun, 19 Aug 2012 20:03:42 +0000 (22:03 +0200)] 
select.2: Clarify equivalent pslect() code in terms of threads

s/sigprogmask/pthread_sigmask/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agopthread_kill.3, pthread_sigqueue.3: Remove wording "another"
Michael Kerrisk [Sun, 19 Aug 2012 06:43:08 +0000 (08:43 +0200)] 
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>
12 years agogetenv.3: tfix
Michael Kerrisk [Sat, 18 Aug 2012 05:22:56 +0000 (07:22 +0200)] 
getenv.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoclock_nanosleep.2: wfix: s/SA_SIGACTION/SA_RESTART/
Michael Kerrisk [Sat, 18 Aug 2012 05:16:00 +0000 (07:16 +0200)] 
clock_nanosleep.2: wfix: s/SA_SIGACTION/SA_RESTART/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoproc.5: tfix
Michael Kerrisk [Sat, 18 Aug 2012 05:03:29 +0000 (07:03 +0200)] 
proc.5: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoproc.5: Update description of 'starttime' field of /proc/PID/stat
Michael Kerrisk [Sat, 18 Aug 2012 05:01:50 +0000 (07:01 +0200)] 
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>
12 years agosyslog.3: Remove (apparently bogus) text claiming LOG_AUTH is deprecated
Simon Josefsson [Fri, 17 Aug 2012 13:02:42 +0000 (15:02 +0200)] 
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>
12 years agoepoll_wait.2: Add pointer to select(2) for discussion of close in another thread
Michael Kerrisk [Fri, 17 Aug 2012 06:41:35 +0000 (08:41 +0200)] 
epoll_wait.2: Add pointer to select(2) for discussion of close in another thread

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agopoll.2: Add pointer to select(2) for discussion of close in another thread
Michael Kerrisk [Fri, 17 Aug 2012 06:34:42 +0000 (08:34 +0200)] 
poll.2: Add pointer to select(2) for discussion of close in another thread

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoselect.2: Note behavior if monitored file descriptor is closed in another thread
Michael Kerrisk [Fri, 17 Aug 2012 06:27:58 +0000 (08:27 +0200)] 
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>
12 years agoselect.2: Minor wording fixes
Michael Kerrisk [Fri, 17 Aug 2012 05:51:43 +0000 (07:51 +0200)] 
select.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoepoll_wait.2: Describe timeout limitation in kernels < 2.6.37
Michael Kerrisk [Thu, 16 Aug 2012 09:33:52 +0000 (11:33 +0200)] 
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>
12 years agoslabinfo.5: srcfix: Added FIXME
Michael Kerrisk [Thu, 16 Aug 2012 08:48:24 +0000 (10:48 +0200)] 
slabinfo.5: srcfix: Added FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoiso_8859-1.7: Minor fixes
Michael Kerrisk [Tue, 14 Aug 2012 19:17:05 +0000 (21:17 +0200)] 
iso_8859-1.7: Minor fixes

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoproc.5: Clarify header file referred related to 'flags' field of /proc/PID/stat
Michael Kerrisk [Tue, 14 Aug 2012 18:57:50 +0000 (20:57 +0200)] 
proc.5: Clarify header file referred related to 'flags' field of /proc/PID/stat

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosecure_getenv.3: New link to getenv.3
Michael Kerrisk [Tue, 14 Aug 2012 06:07:04 +0000 (08:07 +0200)] 
secure_getenv.3: New link to getenv.3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agogetenv.3: Document secure_getenv(3)
Michael Kerrisk [Tue, 14 Aug 2012 06:06:24 +0000 (08:06 +0200)] 
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>
12 years agoStart of man-pages-3.43: updating Changes and Changes.old
Michael Kerrisk [Mon, 13 Aug 2012 22:46:52 +0000 (00:46 +0200)] 
Start of man-pages-3.43: updating Changes and Changes.old

12 years agoStart of man-pages-3.43: updating .Announce and .lsm files
Michael Kerrisk [Mon, 13 Aug 2012 22:46:52 +0000 (00:46 +0200)] 
Start of man-pages-3.43: updating .Announce and .lsm files

12 years agoStart of man-pages-3.43: renaming .Announce and .lsm files
Michael Kerrisk [Mon, 13 Aug 2012 22:46:52 +0000 (00:46 +0200)] 
Start of man-pages-3.43: renaming .Announce and .lsm files

12 years agoReady for 3.42 man-pages-3.42
Michael Kerrisk [Mon, 13 Aug 2012 22:39:31 +0000 (00:39 +0200)] 
Ready for 3.42

12 years agoRemoved trailing white space at end of lines
Michael Kerrisk [Mon, 13 Aug 2012 22:39:21 +0000 (00:39 +0200)] 
Removed trailing white space at end of lines

12 years agomprotect.2, syscall.2, realpath.3, iso_8859-1.7: tstamp
Michael Kerrisk [Mon, 13 Aug 2012 22:37:33 +0000 (00:37 +0200)] 
mprotect.2, syscall.2, realpath.3, iso_8859-1.7: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoChanges: Ready for 3.42
Michael Kerrisk [Mon, 13 Aug 2012 22:29:05 +0000 (00:29 +0200)] 
Changes: Ready for 3.42

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoiso_8859-1.7: Explanation of SOFT HYPHEN and the code for it
Bjarni Ingi Gislason [Mon, 13 Aug 2012 22:05:36 +0000 (00:05 +0200)] 
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>
12 years agofutex.2: Fix description of EINVAL error
Michael Kerrisk [Mon, 13 Aug 2012 12:51:22 +0000 (14:51 +0200)] 
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>
12 years agofutex.2: Various wording fix-ups
Michael Kerrisk [Mon, 13 Aug 2012 12:50:26 +0000 (14:50 +0200)] 
futex.2: Various wording fix-ups

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agofutex.2: Consolidate error descriptions to ERRORS
Марк Коренберг [Mon, 13 Aug 2012 12:25:13 +0000 (14:25 +0200)] 
futex.2: Consolidate error descriptions to ERRORS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agomprotect.2: 'addr' argument is not const
Michael Kerrisk [Mon, 13 Aug 2012 12:00:29 +0000 (14:00 +0200)] 
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>
12 years agocapget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinf...
Sami Kerola [Mon, 13 Aug 2012 08:02:36 +0000 (10:02 +0200)] 
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>
12 years agorealpath.3: Use past tense with ancient history (libc4, libc5)
Shawn Landden [Mon, 13 Aug 2012 07:36:47 +0000 (09:36 +0200)] 
realpath.3: Use past tense with ancient history (libc4, libc5)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoproc.5: wfix
Tolga Dalman [Mon, 13 Aug 2012 07:30:21 +0000 (09:30 +0200)] 
proc.5: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agomigrate_pages.2: spfix
Michael Kerrisk [Mon, 13 Aug 2012 07:26:21 +0000 (09:26 +0200)] 
migrate_pages.2: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agostrcpy.3: wfix
David Prévot [Mon, 13 Aug 2012 07:25:39 +0000 (09:25 +0200)] 
strcpy.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agostrcat.3: ffix
David Prévot [Mon, 13 Aug 2012 07:24:22 +0000 (09:24 +0200)] 
strcat.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoreaddir.3: ffix
David Prévot [Mon, 13 Aug 2012 07:23:41 +0000 (09:23 +0200)] 
readdir.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoptrace.2: tfix
David Prévot [Mon, 13 Aug 2012 07:22:34 +0000 (09:22 +0200)] 
ptrace.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agofutex.7: ffix
David Prévot [Fri, 3 Aug 2012 08:28:09 +0000 (10:28 +0200)] 
futex.7: ffix

uri(7) documents that "Older documents suggested inserting the
prefix 'URL:' just before the URI, but this form has never
caught on." and advise to "enclosed in angle brackets" (and a
few other alternatives).

This patch removes an instance of 'URL:' from the page.

Reported-By: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agortime.3: Fix broken pointer cast in example code
Michael Kerrisk [Fri, 3 Aug 2012 08:23:25 +0000 (10:23 +0200)] 
rtime.3: Fix broken pointer cast in example code

Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agogetdents.2, select_tut.2, atof.3, atoi.3, pthread_create.3, pthread_sigmask.3, rtime...
Michael Kerrisk [Fri, 3 Aug 2012 06:10:17 +0000 (08:10 +0200)] 
getdents.2, select_tut.2, atof.3, atoi.3, pthread_create.3, pthread_sigmask.3, rtime.3, setbuf.3, tsearch.3, netlink.7: Remove unneeded casts

Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoptrace.2: Explain WNOHANG behavior and EINTR bug
Denys Vlasenko [Fri, 3 Aug 2012 04:28:46 +0000 (06:28 +0200)] 
ptrace.2: Explain WNOHANG behavior and EINTR bug

I didn't like ithe "SIGKILL operates similarly, with exceptions"
phrase (if it's different, then it's not "similar", right?),
and now I got around to changing it. Now it says simply:
"SIGKILL does not generate signal-delivery-stop and therefore
the tracer can't suppress it."

Replaced "why WNOHANG is not reliable" example with a more
realistic one (the one which actually inspired to add this
information to man page in the first place): we got
ESRCH - process is gone! - but waitpid(WNOHANG) can still
confusingly return 0 "no processes to wait for".

Replaced "This means that unneeded trailing arguments may
be omitted" part with a much better recommendation
to never do that and to supply zero arguments instead.
(The part about "undocumentedness" of gcc behavior was bogus,
btw - deleted).

Expanded BUGS section with the explanation and an example
of visible strace behavior on the buggy syscalls which
exit with EINTR on ptrace attach. I hope this will lead
to people submitting better bug reports to lkml about
such syscalls.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoadjtimex.2: srcfix: added FIXME
Michael Kerrisk [Thu, 2 Aug 2012 13:46:42 +0000 (15:46 +0200)] 
adjtimex.2: srcfix: added FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoptrace.2: srcfix
Michael Kerrisk [Thu, 2 Aug 2012 11:58:18 +0000 (13:58 +0200)] 
ptrace.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agomigrate_pages.2: Fix description of return value
Michael Kerrisk [Wed, 1 Aug 2012 05:14:18 +0000 (07:14 +0200)] 
migrate_pages.2: Fix description of return value

Reported-by: Christoph Lameter <cl@linux.com>
Reported-by: JoonSoo Kim <js1304@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosocket.2: tfix
Akihiro MOTOKI [Sun, 29 Jul 2012 15:26:25 +0000 (17:26 +0200)] 
socket.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoinotify_init.2: tfix
Akihiro MOTOKI [Sun, 29 Jul 2012 15:25:36 +0000 (17:25 +0200)] 
inotify_init.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoioprio_set.2: Document who==0 for IOPRIO_WHO_PROCESS and IOPRIO_WHO_PGRP
Michael Kerrisk [Sun, 29 Jul 2012 06:07:43 +0000 (08:07 +0200)] 
ioprio_set.2: Document who==0 for IOPRIO_WHO_PROCESS and IOPRIO_WHO_PGRP

For IOPRIO_WHO_PROCESS, who==0 means operate on the caller.
For IOPRIO_WHO_PGRP, who==0 means operate on the caller's
process group.

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

Reported-by: Марк Коренберг <socketpair@gmail.com>
Reported-by: Kalle Olavi Niemitalo <kon@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoioprio_set.2: wfix
Michael Kerrisk [Sun, 29 Jul 2012 05:13:48 +0000 (07:13 +0200)] 
ioprio_set.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoioprio_set.2: Clarify the multithreaded behavior of ioprio_set(2)
Colin McCabe [Sun, 29 Jul 2012 05:08:23 +0000 (07:08 +0200)] 
ioprio_set.2: Clarify the multithreaded behavior of ioprio_set(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agonetlink.7: Change description of "*_pid" fields to "Port ID"
Simon Paillard [Sat, 28 Jul 2012 16:05:15 +0000 (18:05 +0200)] 
netlink.7: Change description of "*_pid" fields to "Port ID"

As reported by Herbert Xu, these should not be considered as PIDs.

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

Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoglob.7: ffix
Michael Kerrisk [Sat, 28 Jul 2012 06:14:15 +0000 (08:14 +0200)] 
glob.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agoglob.7: Update bash(1) command used to obtain classical globbing behavior
Michael Kerrisk [Sat, 28 Jul 2012 06:12:16 +0000 (08:12 +0200)] 
glob.7: Update bash(1) command used to obtain classical globbing behavior

The man page formerly noted the bash(1) v1 command to do this.

Reported-by: Aaron Peschel <aaron.peschel@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
12 years agosocket.7: srcfix
Michael Kerrisk [Mon, 23 Jul 2012 13:00:23 +0000 (15:00 +0200)] 
socket.7: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>