Commit Graph

11780 Commits

Author SHA1 Message Date
Marko Myllynen 6b006d3814 iso_8859-2.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments, streamline description
  (charsets(7) and Wikipedia provide more detailed
   and up-to-date description)
- cosmetics

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen 963ae1794d iso_8859-1.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments, streamline description
  (charsets(7) and Wikipedia provide more detailed
   and up-to-date description)
- cosmetics
2014-10-01 12:04:20 +02:00
Marko Myllynen 5661f357d0 koi8-u.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments, streamline description
  (charsets(7) and Wikipedia provide more detailed
   and up-to-date description)
- list differences between koi8-r.7 vs koi8-u.7
- cosmetics

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen 0ccc2026da koi8-r.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments, streamline description
  (charsets(7) and Wikipedia provide more detailed
   and up-to-date description)
- list differences between koi8-r.7 vs koi8-u.7
- cosmetics

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen f916b177e3 cp1251.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments
- cosmetics

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen c5f415c63c armscii-8.7: Charset pages unification, minor cleanups
- adjust references
- remove stray comments
- cosmetics

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen 5ef5222a35 ascii.7: Charset pages unification, minor cleanups
This and the follow-up patches will provide unification of
charset pages, minor cleanups, and some unifying cosmetic
changes. References are adjusted so that all pages include
a reference to charsets(7), which contains a description of
these sets, stray comments are removed, some obsolete
statements (like ISO 8859-1 being the de-facto ASCII
replacement) are removed, and some minor reformatting
to minimize diff's between the pages are done.

The actual substance, the character tables, remain unchanged.

This series changes the following pages (under man7): ascii,
armscii, cp1251, koi8-r, koi8-u, and all of iso_8859-*.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Marko Myllynen eee7bea60e cp1252.7: New page documenting CP 1252
CP 1252 is probably one of the most used Windows Code Pages so
let's add a page for it alongside with the already provided
CP 1251 page.

Table generated from /usr/share/i18n/charmaps/CP1252.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 12:04:20 +02:00
Michael Kerrisk be7d49c178 strcat.3: wfix
Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:48 +02:00
Michael Kerrisk bb7a4bccb3 readlink.2: Fix description of readlinkat() with empty 'pathname'
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:48 +02:00
Michael Kerrisk b96ddae00e proc.5: Minor tweaks to Elie De Brauwer's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Elie De Brauwer eb7097c2c4 proc.5: Document /proc/buddyinfo
This patch adds a short description about the contents of
/proc/buddyinfo and how this file can be used to assist
in checking for memory fragmentation issues.

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk 1f63d3ec81 fseeko.3: _FILE_OFFSET_BITS must be defined before including any header file
Reported-by: Thomas Mack <mack@ifis.cs.tu-bs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk d990dc383e console_ioctl.4: tfix
Reported-by: Benjamin Herr <ben@0x539.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk e15dc33869 getrlimit.2: Since Linux 3.5, the accounting formula for RLIMIT_MSGQUEUE has changed
Reported-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk 1aa06521e9 pread.2: tfix
Reported-by: Lanchon <lanchon@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk 4e1a4d72f0 open.2: Fix number and formula in description of EOVERFLOW error
Reported-by: Shriramana Sharma <samjnaa@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-26 07:30:02 +02:00
Michael Kerrisk 1d94912fb7 syscalls.2: Add 3 new system calls added in Linux 3.17
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-25 12:25:05 +02:00
Carlos O'Donell 3252fa3f03 wait.2: ffix: add paragraph break before errno note in RETURN VALUE section
The text "Each of these calls sets errno to an appropriate
value in the case of an error." is not only for waitid.

This patch adds a paragraph break to move the errno note
to a new paragraph where it makes sense, as it applies to
all the wait* functions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-25 12:19:37 +02:00
Davidlohr Bueso 9a413675b1 shmget.2: Note some details on defaults for SHMALL and SHMMAX
Based on a very heavily edited patch from Davidlohr Bueso.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 07:18:25 +02:00
Michael Kerrisk 562ac2f24e shmget.2: srcfix: Note commits for 3.16 SHMALL + SHMMAX changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:52:19 +02:00
Michael Kerrisk f037b098c2 shmget.2: Tweak kernel version numbers for SHMALL and SHMMAX changes
It's quite probably that these changes will go infot 3.16,
rather than 3.17

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:46:46 +02:00
Michael Kerrisk d4bf702fac shmget.2: Rework the SHMALL description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:46:46 +02:00
Michael Kerrisk 1fabbf12f6 shmget.2: Minor tweaks to Manfred's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:39:49 +02:00
Manfred Spraul e5cceccf91 shmget.2: Update for increase of SHMALL and SHMMAX
The default values of SHMALL and SHMMAX have been increased.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:39:49 +02:00
Michael Kerrisk 1a212a018f execve.2: Remove unneeded ".sh" extension in interpreter script example
See https://bugzilla.kernel.org/show_bug.cgi?id=84701

As noted by C. Alex North-Keys:

1) Command name extensions considered harmful: Adding ".sh", or
any other unneeded extension, unnecessarily duplicates meta
information already present in the interpreter directive,
exposing an implementation detail that then ends up explicitly
part of other programs running this one.  Later, when such a
script is replaced with a new version in Python, C, etc., the
useless ".sh" has to be retained to avoid breaking those other
programs' calls to this one, and now has a stark antifunction
of lying about the script's content and occasionally causing
admins to run undefined experiments as root (like
"bash -x ./reallyperlscript.sh"). Such extensions, while fine
in DOS which ignores extensions explicitly, is a serious flaw
in Unix-targeted script writing.  Canonical documentation
from the Linux manual should not support such a flawed idiom -
recommending against it would be preferred.

A more extensive rant against them can be found at:
http://www.talisman.org/~erlkonig/documents/commandname-extensions-considered-harmful

2) The space after "#!" in the interpreter directive is minor -
and the kernel's fs/binfmt_script.c specifically allows for it -
but versions of unix have length limits from ~30 characters to
Linux's 127 or so (if that number's correct) so the space does
have a cost.  Most scripts I've seen lack that space, and
there's no real reason to encourage it.

Reported-by: C. Alex North-Keys <erlkonig@talisman.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 06:21:51 +02:00
Wieland Hoffmann b23c9a79d9 namespaces.7: tfix: CLONE_IPC -> CLONE_NEWIPC
CLONE_NEWIPC is the correct constant, as can be seen in the detailed
list of namespaces & their corresponding constants, as well as the
clone(2) man page and include/uapi/linux/sched.h in the Linux source tree.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-23 04:23:11 +02:00
Michael Kerrisk 23ac32233b euidaccess.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:53:13 +02:00
Michael Kerrisk 2333bf67ab readlink.2: SEE ALSO: add realpath(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:51:48 +02:00
Michael Kerrisk 9e4f79d4d3 realpath.3: SEE ALSO: add realpath(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:51:48 +02:00
Michael Kerrisk ac30de076a sched_setattr.2, sched_setscheduler.2: SEE ALSO: add chrt(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:51:48 +02:00
Michael Kerrisk f19db8531d sched.7: SEE ALSO: add taskset(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:51:48 +02:00
Carlos O'Donell 7109ed8103 getgrent.3: Add ENOENT and EAGAIN to error list
It's possible to get ENOENT returned from getgrent()
if the backend, for example say SSSD, isn't configured
or the daemon isn't running. The same can be said of any
of the NSS backend.

As POSIX does not list ENOENT, we can list it ourselves
and define it how we like.

I don't know how you handle errno values that are glibc
specific, but here is the patch that enhances getgrent(3)
to make users aware of what ENOENT is intended to mean
from glibc.

While I'm fixing one I might as well [add EAGAIN].

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 19:50:35 +02:00
Michael Kerrisk e0b7e9a221 Changes.old: tfix for 3.73 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 13:51:30 +02:00
Michael Kerrisk 95cef60aca Start of man-pages-3.74: updating Changes and Changes.old 2014-09-21 12:37:03 +02:00
Michael Kerrisk a2bac51d98 Start of man-pages-3.74: updating .Announce and .lsm files 2014-09-21 12:37:03 +02:00
Michael Kerrisk a3435e5c09 Start of man-pages-3.74: renaming .Announce and .lsm files 2014-09-21 12:37:03 +02:00
Michael Kerrisk 1020a99d8d Ready for 3.73 2014-09-21 11:24:31 +02:00
Michael Kerrisk f5d401ddda Removed trailing white space at end of lines 2014-09-21 11:24:24 +02:00
Michael Kerrisk daf084cc33 clone.2, flock.2, getpid.2, getunwind.2, mount.2, reboot.2, semop.2, seteuid.2, setgid.2, setns.2, setresuid.2, setreuid.2, setuid.2, uname.2, unshare.2, clock.3, drand48.3, proc.5, capabilities.7, credentials.7, mq_overview.7, namespaces.7, pid_namespaces.7, svipc.7, user_namespaces.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 11:23:07 +02:00
Michael Kerrisk b61ada124a Changes: Ready for 3.73
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 11:19:51 +02:00
Michael Kerrisk 9219d20802 clone.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-16 10:05:11 +02:00
Michael Kerrisk c228b4b4d1 namespaces.7, pid_namespaces.7, user_namespaces.7: srcfix: Add LICENSE_START tag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-16 09:05:40 +02:00
David Prévot b7a3dc84e7 fcntl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 11:10:26 +02:00
Michael Kerrisk 53d084e81a setns.2: Add pointer to user_namespaces(7)
Add pointer to user_namespaces(7) for details on interactions
of user and mount namespaces

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:59:30 +02:00
Michael Kerrisk d0c5d17b30 setns.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:56:31 +02:00
Michael Kerrisk 9f4bb2a6c2 setns.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:53:18 +02:00
Michael Kerrisk 6edfe90905 setns.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:52:17 +02:00
Michael Kerrisk fd0a5c693d namespaces.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:39:50 +02:00
Michael Kerrisk 1a1d8762eb pid_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-15 10:36:50 +02:00