Commit Graph

2174 Commits

Author SHA1 Message Date
Michael Kerrisk c8f2dd479b accept.2, execve.2, futimesat.2, getresuid.2, getrlimit.2, madvise.2, mq_getsetattr.2, msgctl.2, nice.2, open.2, poll.2, setresuid.2, shmctl.2, sigaction.2, times.2, utimensat.2, __setfpucw.3, atoi.3, endian.3, err.3, euidaccess.3, fenv.3, fopencookie.3, fpurge.3, getgrouplist.3, getutmp.3, j0.3, lgamma.3, netlink.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cleanup_push_defer_np.3, pthread_getattr_np.3, pthread_kill_other_threads_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, pthread_yield.3, random_r.3, readdir.3, rtnetlink.3, scanf.3, setenv.3, significand.3, sigsetops.3, strerror.3, strstr.3, sysv_signal.3, termios.3, timegm.3, unlocked_stdio.3, y0.3, locale.5, bootparam.7, feature_test_macros.7, ip.7, locale.7, pthreads.7, rtld-audit.7, nscd.8: Global fix: s/non-standard/nonstandard/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:20 +01:00
Michael Kerrisk 7111f89ff2 open.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:49:46 +01:00
Michael Kerrisk a417046130 madvise.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:20:52 +01:00
Colin Watson 9ec8f8605e execve.2: Fix description of treatment of caught signals
Caught signals reset to their default on an execve() (not
to being ignored).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 15:07:22 +01:00
Michael Kerrisk 7cc796ee52 faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, symlinkat.2, unlinkat.2, utimensat.2, mkfifoat.3: Update feature test macro requirements
Starting in glibc 2.10, defining _XOPEN_SOURCE >= 700,
or _POSIX_C_SOURCE >= 200809 exposes the declarations of
these functions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-13 22:54:45 +01:00
Michael Kerrisk 43ada5d427 madvise.2: scrfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-11-27 08:17:35 +01:00
Michael Kerrisk 715e4bec08 setreuid.2: Add more detail on POSIX.1 specification for these syscalls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:35:40 +02:00
Michael Kerrisk b033d60f29 seteuid.2: Note unstandardized behavior for effective ID
PSOIX.1 doesn't require that the effective ID can be changed
to the same value it currently has (a no-op). The man page
should note this, since some other implementations
don't permit it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:06:46 +02:00
Andries E. Brouwer 130b2e49b1 clone.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:39:02 +02:00
Michael Kerrisk 7a8fe6a940 setgid.2: Fix EPERM error description
s/effective group ID/real group ID/
This bug lived in man pages for 15 years before Jason
spotted it! I checked back in Linux 1.0, and the behavior
was as the fixed man page describes.

Reported-by: Jason Noakes <jjnoakes@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:36:12 +02:00
Michael Kerrisk 1eef2ba881 fcntl.2: s/F_OWNER_GID/F_OWNER_PGRP/
Peter Zijlstra took the name change I suggested.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:00:04 +02:00
Michael Kerrisk dd164bfcd5 fcntl.2: Document F_[SG]ETOWN_EX; update details on F_SETOWN
Linux 2.6.32 adds F_SETOWN_EX and F_GETOWN_EX.
Linux 2.6.12 changed (broke) the former behavior of
F_SETOWN with respect to threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-03 17:23:31 +02:00
Michael Kerrisk 2843ba93d4 stat.2, posix_fallocate.3, proc.5, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-30 03:28:34 +02:00
Michael Kerrisk c440fe01d3 clone.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Michael Kerrisk e4f09fd444 timer_getoverrun.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Nicolas François bdfd22665a stat.2: Fix small bug in example program
Since it is a failure, EXIT_FAILURE looks more appropriate
than EXIT_SUCCESS.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François a4d45bc1b9 semctl.2: Remove some redundant words
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François 5feae95791 move_pages.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Nicolas François 64f6ff57b8 epoll_ctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Michael Kerrisk 17b7878618 sigaction.2: Minor fixes
Minor grammar fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:29 +02:00
Michael Kerrisk a8974b6de4 getdomainname.2: Minor change
s/current processors/host system/, which is a little clearer.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:28 +02:00
Nicolas François 3f1a745d44 timer_settime.2: Minor fixes
Fix typos:
 * duplicate the
 * curr_value is a pointer
 * misplaced 'a'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 37f0c8322e timer_create.2: Minor fixes
Add missing parenthesis
Explicitly indicate that conditions are ORed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François ec28c6b988 stat.2: Minor fixes
Fix to formatting issues:
 * remove ending tabulation
 * add missing parenthesis

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François b6a046323e set_thread_area.2: Minor fixes
set_thread_area is a system call, not a library function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François dc99a2a724 select_tut.2: Minor fixes
Wording and spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François c9065be1c4 sched_setaffinity.2: Minor fixes
Consistency for references to manpages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 22e7039097 recv.2: Minor fixes
Fix some formatting typos
 * the period should be in Roman font
 * .RP does not exist, it should be .RB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 073161a3f0 mount.2: Minor fixes
There was too many verbs in the last part of the sentence.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François ced55c9139 mbind.2: Minor fixes
there should be no commas here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 2c1c0a319a get_thread_area.2: Minor fixes
get_thread_area.2 is a system call.
Other manpages seems to differentiate functions (i.e. (g)lib(c) functions)
and system calls. This make it more consistent.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5c03d6b181 get_mempolicy.2: Minor fixes
There should be no comma here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François f7bf69adcc getdents.2: Minor fixes
2 typos:
 * Wrong end of comments
 * etx3 should be ext3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5541fa5210 fcntl.2: Minor fixes
Just a formatting typo.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 8ce39f8681 clone.2: Minor fixes
"PID namespace" is what is new.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5113b11a03 epoll_ctl.2: tfix: This patch fixes a formatting typo.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk 76a34baa39 mmap.2: Add brief documentation of MAP_HUGETLB
This flag is new in 2.6.32, and serves a similar
purpose to the shmget() SHM_HUGETLB flag.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Christoph Hellwig 015221eff8 open.2: add some comments on O_SYNC and friends
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk a38dc43a2d setpgid.2: Add an explanation of orphaned process groups
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk 6b34fb3f5a execve.2, pipe.2, tee.2, fmemopen.3, mq_notify.3, qsort.3: Replace use of assert() by code that checks argc
See http://bugzilla.kernel.org/show_bug.cgi?id=13569

As noted by Andrey:
The purpose of the assert macro, defined in <assert.h>,
is to provide a tool to check for programming mistakes
or program logic errors. However, the assert macro must
never be used to perform checks for run time errors,
since, with the NDEBUG macro defined, expressions within
the assert macro invocations are not evaluated/checked
for, resulting in behavior that was not originally intended.
...
The pages affected in the core package are

execve(2)
pipe(2)
tee(2)
fmemopen(3)
mq_notify(3)
qsort(3)

Reported-by: Andrey Vihrov <vihrov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk 3392d76d6f kill.2: wfix: add missing word to NOTES
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543686.

Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk d8dfbff93f poll.2: Clarify wording describing of 'nfds' argument.
reported by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mark Hills 52520fb570 splice.2, tee.2, vmsplice.2: Fix return type
Since glibc 2.7, the return type for these functions
is ssize_t (formerly it was long).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk 8749bd1a31 umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:07:57 +02:00
Michael Kerrisk 835c57e9cc umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:06:54 +02:00
Michael Kerrisk 6f6a9bc76e getrusage.2: ru_inblock and ru_oublock are now implemented
These fields of the rusage structure are filled in since
Linux 2.6.22.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-25 11:00:44 +02:00
Michael Kerrisk 0f7654e417 sigaction.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:45:44 +02:00
Michael Kerrisk 6da336d7fe fcntl.2: The kernel source file mandatory.txt is now mandatory-locking.txt
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:59 +02:00
Michael Kerrisk de544d7faf fcntl.2, flock.2: The Documentation/* files are now in Documentation/filesystems
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:30:51 +02:00
Michael Kerrisk f62a64aa05 flock.2: Remove unneeded reference to Documentation/mandatory.txt
Mandatory locks are only implemented by fcntl() locking

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:22:37 +02:00