Commit Graph

11459 Commits

Author SHA1 Message Date
Michael Kerrisk 31036c4691 proc.5: Remove crufty text under 'timer_stats'
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:38:38 +02:00
Simon Paillard 3950d59a28 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:22:55 +02:00
Simon Paillard 1bba635d69 proc.5: grfix
Missing verb

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:21:50 +02:00
Adrian Bunk c023a7f875 bdflush.2, fsync.2, sync.2, proc.5: Change "sync(1)" to "sync(8)"
This seems to be a remnant from the times when man-pages
shipped a sync(8).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 22:02:15 +02:00
Yuri Kozlov 79a022a606 capabilities.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 21:59:25 +02:00
Michael Kerrisk a83923cafb open.2: wfix
Reported-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 21:57:51 +02:00
Rahul Bedarkar 481d41f264 getline.3: Close opened file at end of example program
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 21:56:01 +02:00
Michael Kerrisk f078c3fa6a printf.3: Update with some SUSv3 details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 15:29:17 +02:00
Michael Kerrisk c271056c86 printf.3: Note use of 'j', 'z', and 't' length modifiers for '%n'
See http://bugs.debian.org/756602

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 15:06:39 +02:00
Michael Kerrisk 9cc5e8b790 strtod.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk 145fb1b49a strtod.3: Explain NAN(n-char-sequence)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk 9b944b8d95 strtod.3: SEE ALSO: add nan(3), nanf(3), NANL(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk aacd17b1c1 printf.3: Clarify details of the %n conversion specifier
See http://bugs.debian.org/756602

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk 8ee1a15c1b cpuset.7: tfix
Reported-by: Paul Jackson <pj@usa.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-30 11:49:19 +02:00
D. Barbier c435eb91ad sigaltstack.2: tfix
Fix typo introduced in 0c892e5.

Denis

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-30 08:40:36 +02:00
Yuri Kozlov a0fc2d2b9c capabilities.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-30 08:40:01 +02:00
Peng Haitao 9a2b1ecac4 puts.3: tfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-29 06:48:23 +02:00
Michael Kerrisk f3d2d8bd2b cerf.3, cexp2.3, clog2.3: Update version number on "Not yet in glibc" sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:27 +02:00
Michael Kerrisk 61100fc051 system.3: tfix
Reported-by: Damir Nedzibovic <d.nedzibovic@anoxtech.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:24 +02:00
Michael Kerrisk 89c1cb59ab getauxval.3: Document ENOENT error
And add an entry to BUGS explaining the ambiguity that was
present before the addition of this error.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:21 +02:00
Michael Kerrisk e77c5c7431 recv.2: 'addrlen' should be NULL (not 0) if we don't need sender address
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:10 +02:00
Michael Kerrisk b18ea63300 bind.2: Correct EINVAL error description
As pointed out by Ryan:

    My application is trying to bind an IPV4 UDP socket to an
    address. I've found that passing an invalid address length
    to bind() causes bind to return EINVAL. According to the
    bind(2) manpage, this should only occur when using unix
    domain sockets (which I am not).

Reported-by: Ryan Hammonds <rhammonds@unicoi.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-22 07:40:22 +02:00
David Prévot cc2b44ebed stat.2: nfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-22 07:17:07 +02:00
Michael Kerrisk 3da9115905 inotify.7: Mention use of timeout when reading IN_MOVED_TO after IN_MOVED_FROM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-21 07:33:17 +02:00
Michael Kerrisk 003798c744 inotify.7: Note that insertion of IN_MOVED_FROM+IN_MOVED_TO pair is not atomic
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-21 07:30:21 +02:00
Michael Kerrisk e0def8f50f pthread_getcpuclockid.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:47 +02:00
Michael Kerrisk 18d92a146c inotify.7: Note that IN_ONLY_DIR can be used to avoid races
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:47 +02:00
Vince Weaver bc9d90b589 perf_event_open.2: Clarify PERF_SAMPLE_DATA_SRC usage
When checking the fields in the PERF_SAMPLE_DATA_SRC type samples
you need to shift the masks before doing the compare.

Although the value you are checking (perf_mem_data_src) is
specified as a bitfield so this might all fall apart if trying
to access the field in a cross-endian way.  The Power people
were working on this issue, not sure if they resolved it.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:47 +02:00
Vince Weaver 02ca78a0c7 perf_event_open.2: Clarify PERF_SAMPLE_STACK_USER usage
This clarifies the PERF_SAMPLE_STACK_USER section.
I found these issue while implementing some code that uses
the option.  The important change is fixing the name of the
sample_stack_user parameter, the rest is just some wording
fixes and minor clarifications.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:47 +02:00
Michael Kerrisk b7800b443e fgetgrent.3, getgrent.3, getgrent_r.3, getgrnam.3: Clarify that 'gr_mem' is a NULL-terminated array of pointers
Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:35 +02:00
Michael Kerrisk 5e333b1bf1 getgrent.3, getgrent_r.3, getgrnam.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-14 21:23:39 +02:00
David Prévot 9fdb563ecd fanotify_mark.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-13 10:29:57 +02:00
Yuri Kozlov 8a5fa4e63c cp1251.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-13 10:29:30 +02:00
Michael Kerrisk 64dbd023ee proc.5: srcfix: Update /proc/vmcore FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk 31293f37fc proc.5: Update /proc/PID/stat 'state' field documentation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk d5866b34dd proc.5: srcfix: Remove obsolete FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk a5d02d77dc proc.5: Document /proc/sys/vm/overcommit_kbytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk cd7b6c4020 proc.5: Rework discussion of CommitLimit and /proc/sys/vm/overcommit_memory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk eac5ee9244 proc.5: Improve discussion of /proc/sys/vm/overcommit_ratio
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 7c82878a9f proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk e0fdc57cff proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk ef2eb7e0cf proc.5: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 62e4a418f0 proc.5: Rework formatting of /proc/PID/stat list
Make the field numbers more prominent.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 082bf5b895 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 426bc8d725 proc.5: Improve description of /proc/PID/stat fields added in Linux 3.3 and 3.5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 0be30a547f proc.5: Fix kernel version numbers for /proc/PID/stat fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 71eae89536 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
jchaloup 12449ae3a2 proc.5: add missing proc stats fields
Adding missing proc stats fields from https://www.kernel.org/doc/Documentation/filesystems/proc.txt, caption: Table 1-4: Contents of the stat files (as of 2.6.30-rc7). Distribution: Fedora 20. Man-pages: man-pages-3.67.

Signed-off-by: jchaloup <jchaloup@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk afb7b014e2 proc.5: Document /proc/PID/syscall
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 7c2905d1be proc.5: Document /proc/PID/personality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00