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
Michael Kerrisk
de8e9cc1a0
proc.5: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Michael Kerrisk
f33d383dd0
sysctl.2: ERRORS: EACCES as a synonym for EPRM
...
See https://bugzilla.kernel.org/show_bug.cgi?id=46731
and http://thread.gmane.org/gmane.linux.ltp/11413/focus=957635
From: Garrett Cooper <yanegomi <at> gmail.com>
Subject: Re: [LTP] [PATCH] sysctl03: sysctl returns EACCES after 2.6.33-rc1
Newsgroups: gmane.linux.kernel, gmane.linux.ltp
Date: 2010-03-04 18:35:33 GMT
Reported-by: Garrett Cooper <yanegomi@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Michael Kerrisk
839edbdd7f
Changes.old: Fix-ups for 3.45 changelog
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 23:31:29 +01:00
Michael Kerrisk
ecbb4bb73c
syscalls.2: Add finit_module(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:29:34 +01:00
Michael Kerrisk
602241400f
Start of man-pages-3.46: updating Changes and Changes.old
2012-12-20 18:19:17 +01:00
Michael Kerrisk
873d9cac54
Start of man-pages-3.46: updating .Announce and .lsm files
2012-12-20 18:19:17 +01:00
Michael Kerrisk
dd7e57a4cb
Start of man-pages-3.46: renaming .Announce and .lsm files
2012-12-20 18:19:17 +01:00
Michael Kerrisk
78683d83f5
Ready for 3.45
2012-12-20 18:17:19 +01:00
Michael Kerrisk
e6d86b417f
Removed trailing white space at end of lines
2012-12-20 18:17:09 +01:00
Michael Kerrisk
cd56c2fce6
wait.2, ttyname.3, undocumented.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:12:45 +01:00
Michael Kerrisk
d8cda576b5
Changes: Ready for 3.45
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:10:17 +01:00
Michael Kerrisk
28474c20d9
sysctl.2: Mention CONFIG_SYSCTL_SYSCALL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:37:50 +01:00
Michael Kerrisk
bef43fac15
sysctl.2: Calls to sysctl() log warnings to the kernel log since 2.6.24
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:33:05 +01:00
Michael Kerrisk
a25601b48b
recv.2: UNIX domain sockets support MSG_TRUNC since 3.4
...
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 17:04:43 +01:00
Michael Kerrisk
35d740b95e
mkstemp.3: Deemphasize discussion of mode 066 in glibc 2.0.6
...
Glibc 2.0.6 is now so ld that the discussion of details
of that version can be deemphasized placing just under
NOTES.
See https://bugzilla.kernel.org/show_bug.cgi?id=51811
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 16:22:58 +01:00
Felipe Pena
cab67c641a
elf.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-19 00:49:48 +01:00
Michael Kerrisk
929f1ff7f7
syscalls.2: Update various references to "i386" to "x86"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 22:05:57 +01:00
Michael Kerrisk
ccc0a19554
fallocate.2: srcfix: Affed FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-18 20:33:26 +01:00
Michael Kerrisk
72c902609e
sysconf.3, cciss.4: Global fix: s/runtime/run time/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:43 +01:00
Michael Kerrisk
2908f2b4aa
s390_runtime_instr.2: Minor fixes fo Jan's page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:43 +01:00
Jan Glauber
820630e109
s390_runtime_instr.2: New page for s390-specific s390_runtime_instr(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:34 +01:00