Michael Kerrisk
6f2b4a6555
unshare.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:29:12 +01:00
Michael Kerrisk
f7b8bdbe44
unshare.2: Fix text problems in description of CLONE_FS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:28:28 +01:00
Michael Kerrisk
3c4e652d75
unshare.2: Update NOTES on unimplemented flags
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:25:22 +01:00
Michael Kerrisk
2901522578
unshare.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:21:12 +01:00
Michael Kerrisk
8403481fcd
clone.2: SEE ALSO: add setns(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-01 01:09:24 +01:00
Michael Kerrisk
47b0eb1e5e
unshare.2: SEE ALSO: add setns(2)
2013-01-01 01:08:39 +01:00
Michael Kerrisk
1285ff3d2d
lseek.2, read.2, setsid.2, vhangup.2, getttyent.3, login.3, openpty.3, console_codes.4, console_ioctl.4, securetty.5, signal.7: Global fix: s/tty/terminal/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:54:44 +01:00
Michael Kerrisk
60947e72d6
ttytype.5: Add proper xref for termcap and terminfo pages
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:54:44 +01:00
Michael Kerrisk
2806f68e28
shells.5: Add /etc/bash to list of example shells
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:33:38 +01:00
Michael Kerrisk
d1fc9433bb
shells.5: Minor wording updates
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:33:11 +01:00
Michael Kerrisk
56587252ff
__setfpucw.3: Add proper page cross refs for alternate functions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:29:12 +01:00
Michael Kerrisk
824464a9be
fseek.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:22:49 +01:00
Michael Kerrisk
949aff4c2d
fseek.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:22:16 +01:00
Michael Kerrisk
e2bfd6dfce
fpathconf.3: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:20:45 +01:00
Michael Kerrisk
e357a0a487
catgets.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:15:39 +01:00
Michael Kerrisk
3fd39c7a12
outb.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:14:15 +01:00
Michael Kerrisk
dc43bf71f7
outb.2: Add SYNOPSIS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:14:03 +01:00
Michael Kerrisk
1330fa2959
idle.2: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:00:03 +01:00
Michael Kerrisk
5fa1bc65ba
__after_morecore_hook.3: New link to malloc_hook.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Michael Kerrisk
0b68539c5b
__realloc_hook.3: New link to malloc_hook.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Michael Kerrisk
080a24b6ee
__free_hook.3: New link to malloc_hook.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Michael Kerrisk
66cd84deea
__memalign_hook.3: New link to malloc_hook.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Michael Kerrisk
44f8986447
__malloc_initialize_hook.3: New link to malloc_hook.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Michael Kerrisk
cb42fb5682
proc.5: Add field numbers for /proc/[pid]/statm
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413
Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Justin Lebar
04dcb3c8f8
proc.5: statm's "shared" field refers to pages backed by files
...
I noticed that statm's "shared" field doesn't match the sum of
all the "shared" entries in smaps [1].
The kernel docs explain that statm's "shared" field is "number of
pages that are shared (i.e. backed by a file)" [2]. smaps appears
to call a page shared if it's mapped by at least two processes,
which explains this discrepancy.
I'm not a kernel hacker, but it appears to me they do mean "i.e."
and not "e.g." in the statm description: In
fs/proc/task_mmu.c::task_statm, I see
*shared = get_mm_counter(mm, MM_FILEPAGES);
Here's a patch which updates the man page to match the (hopefully
correct) kernel docs.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=807181
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/filesystems/proc.txt;h=a1793d670cd01bd374eddf54ffdfc768504291ff;hb=HEAD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk
4cb1deb76f
proc.5: Minor wording fix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk
e04a1f931d
proc.5: srcfix: Update FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk
d4fd412082
proc.5: Document /proc/stat "cpu" "nice_guest" field
...
Info taken from commit ce0e7b28fb75cb003cfc8d0238613aaf1c55e797
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk
ea0841f6c2
proc.5: Add numbering to /proc/stat "cpu" fields
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413
Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:43 +01:00
Michael Kerrisk
ae3b804737
proc.5: Reorganize text describing /proc/stat "cpu" fields
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 20:36:20 +01:00
Michael Kerrisk
aa610245c8
proc.5: Add field numbers for /proc/PID/stat
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413
Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 20:16:08 +01:00
Cédric Boutillier
ad379f3a37
if_nameindex.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-24 03:52:48 +01:00
David Prévot
431dcaebd1
sysctl.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 20:03:04 +01:00
David Prévot
437b953c23
ipv6.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 20:03:04 +01:00
David Prévot
1f6aa3ea7b
proc.5: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 18:51:43 +01:00
Elie De Brauwer
bbb9456ec4
recvmmsg.2: Add/correct kernel version info for recvmmsg() and MSG_WAITFORNONE
...
This patch isolates the since/version related fixes as requested.
This change introduces the following delta:
* The page states it was added in 2.6.32 but it is only added
2.6.33 (ref: http://kernelnewbies.org/Linux_2_6_33 )
* The MSG_WAITFORONE flag was in turn only added in 2.6.34
(ref: http://kernelnewbies.org/Linux_2_6_34 )
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 18:47:05 +01:00
Michael Kerrisk
97927abec0
sendmmsg.2: Minor fix to example program: s/main()/main(void)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:23 +01:00
Michael Kerrisk
6d2f6aff6d
recvmmsg.2: srcfix: Note kernel commit that added syscall
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:20 +01:00
Michael Kerrisk
2c208a7a60
recvmmsg.2: Minor fixes to Elie de Brauwer's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 22:39:20 +01:00
Elie De Brauwer
f2246260a9
recvmmsg.2: Add an example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 19:54:30 +01:00
Michael Kerrisk
e3b419fae8
symlink.2: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 18:59:11 +01:00
Mark Hills
a1f016851a
link.2, mkdir.2, mknod.2, open.2, rename.2, symlink.2, write.2, mkfifo.3: Document EDQUOT error
...
The return error EDQUOT is not documented in open(2), write(2),
symlink(2) etc..
Whether inodes or disk blocks are required for each function
is something I based on received wisdom and BSD documentation,
rather than tracing the code to the kernel. For symlink(2)
this certainly depends on the file system type.
This patch was previously sent to the linux-man mailing list
as an RFC in September 2010.
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 18:56:59 +01:00
Michael Kerrisk
38b6e5b098
capabilities.7: Add kcmp(2) under CAP_SYS_PTRACE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:06:24 +01:00
Michael Kerrisk
19a98048b7
unshare.2: SEE ALSO: add kcmp(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:16 +01:00
Michael Kerrisk
6f8746e45c
clone.2: SEE ALSO: add kcmp(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk
98ef180325
kcmp.2: Add copyright and license
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk
b73f9ed61d
kcmp.2: Substantial reworking/extension of Cyrill Gorcunov's page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Cyrill Gorcunov
aab0b384fd
kcmp.2: New page for kcmp(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 08:05:15 +01:00
Michael Kerrisk
b742d43e3d
difftime.3: Remove crufty text about 'time_t' on "other systems"
...
Back in 2006, some text came in via Debian patches that seems
crufty. Remove it.
See https://bugzilla.kernel.org/show_bug.cgi?id=46731
Reported-by: Michal Gorny <mgorny@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:44:19 +01:00
Michael Kerrisk
f2c8b197ae
proc.5: Document /prod/[pid]/oom_score_adj
...
Text taken directly from Documentation/filesystems/proc.txt,
with some light editing.
See https://bugzilla.kernel.org/show_bug.cgi?id=50421
Reported-by: Peter Lekeynstein <lekensteyn@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00