Commit Graph

10716 Commits

Author SHA1 Message Date
Michael Kerrisk 73da353720 termios.3: Rework intro text for 'c_oflag'
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 20:31:15 +02:00
Michael Kerrisk a4cd12a95f fanotify.7: Add some details on event_f_flags
Note the use of fanotify_mark() 'event_f_flags' to control
the file status flags for the file descriptors returned via
'fanotify_event_metadata.fd'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Michael Kerrisk 3253bbc3d4 fanotify.7: Clarify details of buffer size for read() and 'event_len' field
* Using large buffer sizes for read(2) is orthogonal to the
  discussion of variable-length event structures.
* Move the discussion of the read() return value to follow
  discussion of what the read() actually returns in its buffer.
* Related rewordings.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Michael Kerrisk 4a57583f50 fanotify.7: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Michael Kerrisk d4a12c12eb fanotify_mark.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Michael Kerrisk 8d605e5515 fanotify_init.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Michael Kerrisk 3302241970 fanotify.7: Minor tweaks to Heinrich's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Heinrich Schuchardt a662500625 fanotify.7: Adjust description of the fanotify queue
Update as per http://www.spinics.net/lists/linux-man/msg05624.html
where Jan Kara proposed to clarify the deletion of events from the
fanotify queue and the occurrence of ENOENT when writing to the
fanotify file descriptor.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Simon Paillard b4112efb58 execve.2, getuid.2, stat.2, termios.3, ttyslot.3, glob.7: ffix: UNIX V6 or V7: use nonbreaking space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
John Marshall 3ad65ff004 open.2: wfix
Signed-off-by: John Marshall <jm18@sanger.ac.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-06 14:41:52 +02:00
Michael Kerrisk b9ddebe2c8 fallocate.2: wfix
Reported-by: Lukáš Czerner <lczerner@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-06 12:43:27 +02:00
Michael Kerrisk 5e443a5f9e fanotify.7: tfix
Reported-by: Jan Kara <jack@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-06 06:55:26 +02:00
Michael Kerrisk 4cb2774210 fallocate.2: Minor tweaks to FALLOC_FL_ZERO_RANGE text
Reported-by: Lukáš Czerner <lczerner@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 21:42:51 +02:00
Michael Kerrisk a511151119 process_vm_readv.2: Add feature test macro requirements
The _GNU_SOURCE FTM must be defined.

Reported-by: Stijn Hinterding <contact@stijnhinterding.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 20:05:12 +02:00
Yuri Kozlov 6d1f5ca537 termios.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 19:54:32 +02:00
Yuri Kozlov 69ef1f653e termios.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 19:44:25 +02:00
Lukas Czerner 5737bfa0dc fallocate.2: FALLOC_FL_ZERO_RANGE on ext4 works only for extent-based files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 14:44:58 +02:00
Michael Kerrisk 7c7960f812 fallocate.2: Tweaks and fixes to Lukas Czerner's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 14:44:58 +02:00
Michael Kerrisk 44e4132a32 fallocate.2: Minor tweaks to Lukas Czerner's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 14:44:58 +02:00
Lukas Czerner 7dc489e34e fallocate.2: Document FALLOC_FL_ZERO_RANGE
FALLOC_FL_ZERO_RANGE was added in Linux 3.14,
for zeroing ranges in the allocated space in a file.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 14:44:58 +02:00
Michael Kerrisk d29f746e8f link.2: Document ENOENT error for linkat()
See https://bugzilla.kernel.org/show_bug.cgi?id=73301

Reported-by: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 13:05:13 +02:00
Michael Kerrisk 1bc48ce10c symlink.2: Document ENOENT error for symlinkat()
See https://bugzilla.kernel.org/show_bug.cgi?id=73301

Reported-by: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 12:39:34 +02:00
Michael Kerrisk 1b24e2ee0e fanotify_init.2, fanotify_mark.2, fanotify.7: srcfix: rewrap long source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 11:48:44 +02:00
Michael Kerrisk 77bba7b589 fanotify.7: spfix
Reported-by: Silvan Jegen <s.jegen@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 11:38:07 +02:00
David Prévot 322d49fb51 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 08:26:01 +02:00
Simon Paillard 49539a8ec1 prctl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 08:23:20 +02:00
Michael Kerrisk 592c95b45c execve.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 21:11:41 +02:00
Michael Kerrisk e6bec78cf5 execve.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 21:11:16 +02:00
Michael Kerrisk 2afe936518 write.2: BUGS: detail nonatomicity bug with respect to file offset updates
This bug was fixed in Linux 3.14, with commit
9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
See also http://thread.gmane.org/gmane.linux.kernel/1649458

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 10:25:48 +02:00
Michael Kerrisk c0f72eccff read.2: BUGS: detail nonatomicity bug with respect to file offset updates
This bug was fixed in Linux 3.14, with commit
9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
See also http://thread.gmane.org/gmane.linux.kernel/1649458

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 10:24:30 +02:00
David Prévot b660ce1aa4 inet_net_pton.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 07:44:25 +02:00
David Prévot 99839082a9 inet.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 07:42:42 +02:00
Michael Kerrisk 500bd052c9 posix_fadvise.2: Fix wording error under "Architecture-specific variants"
See https://bugzilla.kernel.org/show_bug.cgi?id=75431

Reported-by:  Eric Siegerman <pub08-knl@davor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-03 21:13:02 +02:00
Manfred Spraul 23c9590997 shmget.2: Clarify SHMALL
The default for SHMALL is a limit of 8 GB, regardless of
PAGE_SIZE. The current documentation does not mention that
and is therefore more difficult to understand than necessary.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-03 13:47:46 +02:00
Manfred Spraul 2cfc92a33f shmget.2: Correct math error
2097152 is 2^21, not 2^20.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-03 13:43:49 +02:00
Michael Kerrisk e0ec3e201e mdoc.samples.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-02 08:05:13 +02:00
Michael Kerrisk 491bc7831b fanotify_init.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 22:13:35 +02:00
Michael Kerrisk 97ef170a8e fanotify_mark.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 22:06:40 +02:00
Michael Kerrisk 4ac7d31348 fanotify_mark.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 22:06:14 +02:00
Michael Kerrisk 2335e402a6 fanotify_mark.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 22:05:38 +02:00
Michael Kerrisk 20abed5346 fanotify_init.2: Tweaks to Heinrich Schuchardt's BUGS patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 22:01:46 +02:00
Heinrich Schuchardt 6448be7e7c fanotify_init.2: Add BUGS section, noting that event_f_flags is not checked
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 21:53:59 +02:00
Michael Kerrisk 22956293a2 open_by_handle_at.2: Mention FreeBSD analogs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 09:47:27 +02:00
Michael Kerrisk 89ba4cc2ae fanotify_mark.2: ERRORS: ENOSYS if not available
fanotify_mark() may fail with ENOSYS, if the kernel
was configured without setting CONFIG_FANOTIFY=y.

Tested with an appropriately configured kernel 3.14.2.8

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 07:49:17 +02:00
Heinrich Schuchardt a8972eed32 fanotify_init.2: ERRORS: ENOSYS if not available
fanotify_init() may fail with ENOSYS, if the kernel
was configured without setting CONFIG_FANOTIFY=y.

Tested with an appropriately configured kernel 3.14.2.8

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-01 07:49:06 +02:00
Michael Kerrisk ce430f41fe fallocate.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-30 20:04:22 +02:00
Michael Kerrisk bfff73cb7a fanotify.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-29 15:35:54 +02:00
Michael Kerrisk b22400c0a5 sched_yield.2: Small changes consistent with migration of content to sched(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-29 15:01:00 +02:00
Michael Kerrisk 515fc14694 sched_setparam.2: Small changes consistent with migration of content to
sched(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-29 15:01:00 +02:00
Michael Kerrisk 476883d785 sched_setaffinity.2: Small changes consistent with migration of content to
sched(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-29 15:01:00 +02:00