Commit Graph

11315 Commits

Author SHA1 Message Date
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
Michael Kerrisk 6975c16e3b proc.5: Note that /proc/PID/cmdline is read-only
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 32d7ef0088 proc.5: Document /proc/PID/comm
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b3fb99e8d3 proc.5: srcfix: add/update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 4c69c69283 proc.5: Refer to getauxval(3) in discussion of /proc/PID/auxv
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 59d566a952 proc.5: Document /proc/kpageflags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk ff56ac8b6f proc.5: Document /proc/kpagecount
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b0aa1e5111 proc.5: Document /proc/PID/pagemap
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:31 +02:00
Michael Kerrisk 21040be670 Changes.old: Minor fixes to 3.70 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-09 12:19:53 +02:00
NeilBrown c835f12b9b epoll_ctl.2: minor clarification concerning when a WAKEUP event is "processed"
I guess it should be obvious, but it never hurts to be explicit.
When the epoll file descriptor is closed all events are assumed
to be "processed".
Also if the event is removed with EPOLL_CTL_DEL or the EPOLLWAKEUP
flag is removed with EPOLL_CTL_MOD the event will be "processed".

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-09 10:25:09 +02:00
Michael Kerrisk 19b7ee90c3 Start of man-pages-3.71: updating Changes and Changes.old 2014-07-08 17:20:15 +02:00
Michael Kerrisk 4ada655af5 Start of man-pages-3.71: updating .Announce and .lsm files 2014-07-08 17:20:15 +02:00
Michael Kerrisk 2b0fca9951 Start of man-pages-3.71: renaming .Announce and .lsm files 2014-07-08 17:20:15 +02:00
Michael Kerrisk b212fd5cc3 Ready for 3.70 2014-07-08 16:36:43 +02:00
Michael Kerrisk cbe0e64447 Removed trailing white space at end of lines 2014-07-08 16:36:37 +02:00
Michael Kerrisk b73bd26850 Changes: Expanded tabs 2014-07-08 16:36:37 +02:00
Michael Kerrisk 65266f17a0 Changes: Ready for 3.70
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:29:59 +02:00
Michael Kerrisk c77eace5b1 iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl.2, getitimer.2, inotify_add_watch.2, open.2, pipe.2, poll.2, sendmmsg.2, set_tid_address.2, shmop.2, signalfd.2, splice.2, syscalls.2, syslog.2, tee.2, vmsplice.2, ether_aton.3, mallopt.3, printf.3, profil.3, charmap.5, proc.5, epoll.7, inotify.7, libc.7, pipe.7, sched.7, socket.7, udplite.7, iconvconfig.8, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:14:48 +02:00
Michael Kerrisk ab98e0fbaa ldd.1: SEE ALSO: add sprof(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk 5f97eb3b5b profil.3: SEE ALSO: add sprof(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk cf28f98af0 ld.so.8: SEE ALSO: add sprof(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk 9237566298 sprof.1: Reviewed by Marko Myllynen
Reviewed-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk 2adccceb6c sprof.1: New page for the glibc sprof(1) command
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk 7c7a7df356 ld.so.8: Clarify that LD_PROFILE can specify just a single shared object
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk c64ea262fa ld.so.8: Clarify that LD_PROFILE output is appended to target file
The LD_PROFILE output is appended to any existing
contents of the target file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk e95b1911c4 inotify.7: Clarify with events are generated for watched directories
Really, with respect to watched directories, events fall into
three classes (not two, as was shown):

* Events that can be generated only for the watched directory.
* Events that can be generated only for objects that are inside
  the watched directory.
* Events that can be generated both for the watched directory
  and for objects inside the directory.

So, mark these three classes more clearly in the list of inotify
events.
dd

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 14:27:44 +02:00
Michael Kerrisk d2b6be9a2d fcntl.2: Suggest the use of real-time signals with F_NOTIFY
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 12:22:25 +02:00
Michael Kerrisk 1ce579fc39 fcntl.2: ERRORS: Document ENOTDIR error for F_NOTIFY
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 12:07:15 +02:00
Michael Kerrisk 640a438d9b pipe.7: Clarify that since 2.6.35, 65535 bytes is the default pipe capacity
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 14:33:38 +02:00
Elie De Brauwer 91d4de6683 pipe.7: Add reference that the pipe capacity can be changed.
In fcntl(2) F_SETPIPE_SZ, F_GETPIPE_SZ and /proc/sys/fs/pipe-max-size are
defined, however pipe(7) still defines the pipe capacity as being a static
entity. Adding a reference to fcntl(2).

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:31 +02:00
Elie De Brauwer 4fe82a332b pipe.2: PIPE_BUF is defined in limits.h
To make use of PIPE_BUF in an application one should include limits.h.
Adding a reference to this inclusion.

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:26 +02:00
Michael Kerrisk 8ab32b4785 epoll_ctl.2: BUGS: EPOLLWAKEUP is silently ignored without CAP_BLOCK_SUSPEND
If the caller does not have CAP_BLOCK_SUSPEND, then EPOLLWAKEUP
is silently ignored.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:18 +02:00
Michael Kerrisk d3695ae2c7 epoll.7: Minor tweaks to Neil Brown's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:15 +02:00
NeilBrown 6db5acce0e epoll.7: Document EPOLLWAKEUP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:12 +02:00
Michael Kerrisk 1bc86e8a0d epoll_ctl.2: Minor tweaks to Neil Brown's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:11 +02:00
NeilBrown 573f05ef42 epoll_ctl.2: Document EPOLLWAKEUP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-07 09:07:10 +02:00
Michael Kerrisk 6351139b47 set_tid_address.2: SEE ALSO: add gettid(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-06 09:15:06 +02:00
Michael Kerrisk b5693a3854 set_tid_address.2: Use "thread" rather than "process" in DESCRIPTION
Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-06 09:13:40 +02:00
Michael Kerrisk b701f72de4 syscalls.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-06 09:11:03 +02:00
Michael Kerrisk 8be6f4e1cd fcntl.2: Use proper page cross-references in F_NOTIFY discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-05 08:54:58 +02:00
Michael Kerrisk e2cfd90e5b poll.2: The negate-fd-to-ignore technique does not work for file descriptor 0
See https://bugzilla.kernel.org/show_bug.cgi?id=79411

Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-03 08:17:14 +02:00
Michael Kerrisk 5c4d5f9715 fcntl.2: The return value for F_SETPIPE_SZ is the pipe capacity
Reported-by: Tomi Salminen <tlsalmin@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-01 11:40:36 +02:00
Michael Kerrisk 417e4f5c50 getitimer.2: Rewrite a few pieces to clarify some details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-01 09:36:28 +02:00
Michael Kerrisk f070e9543a inotify.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-01 08:16:49 +02:00
Michael Kerrisk 2460ac0e19 mallopt.3: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ *do* work in setgid programs
My testing on this point was bogus, overlooking details of
strace(1)'s behavior with setuid programs.

See https://sourceware.org/bugzilla/show_bug.cgi?id=12155

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-01 08:16:37 +02:00