Commit Graph

16742 Commits

Author SHA1 Message Date
Michael Kerrisk bf5c6199e3 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:50:06 +02:00
Michael Kerrisk ba202ba07f mallopt.3: Note default value of M_PERTURB
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:45:16 +02:00
Michael Kerrisk 8d66586467 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:41:13 +02:00
Michael Kerrisk bb70234f74 mallopt.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:36:18 +02:00
Michael Kerrisk 141efa1be5 perf_event_open.2: Minor wording tweaks to Vince Weaver's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:16:55 +02:00
Vince Weaver ffbc7c0273 perf_event_open.2: Document PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT
Linux 4.2 reserved a new bit from the misc field in
the perf_event_open() mmap sample buffer:
PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT

Despite being reserved in the public
include/uapi/linux/perf_event.h header file, this bit is never set
by the kernel. Rather, it is used internally by the user-space
"perf" utility to indicate that, when attempting to parse all of
the /proc/xxx/maps files for the sample, it ended up taking too
long so the scan was aborted.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
2016-10-18 08:15:30 +02:00
Darrick J. Wong 2046b8ac01 ioctl_ficlonerange.2, ioctl_fideduperange.2: Clarify the behavior of the FIDEDUPERANGE ioctl
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2016-10-18 08:08:43 +02:00
Darrick J. Wong 63a599c657 man2/fallocate.2: Document behavior with shared blocks
Note that FALLOC_FL_UNSHARE may use CoW to unshare blocks to
guarantee that a disk write won't fail with ENOSPC.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2016-10-18 08:05:34 +02:00
Michael Kerrisk 3b3d46e7cf pkeys.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:00:12 +02:00
Dave Hansen c92965c2be pkey.7: Add description of signal handling behavior
The signal behavior of pkeys is special compared to many other
processor and OS features.  Add a special section to describe
the behavior.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-18 07:58:52 +02:00
Michael Kerrisk 3e712e2a67 pkey_alloc.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:17 +02:00
Michael Kerrisk 31e0cc4430 mprotect.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:17 +02:00
Michael Kerrisk a398e76366 pkey_alloc.2: Add a pointer to example program in pkeys(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:17 +02:00
Michael Kerrisk 9e7d6be1f5 mprotect.2: Various tweaks to the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:17 +02:00
Michael Kerrisk f74aed0e62 mprotect.2: VERSIONS: note kernel version for pkey_mprotect()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:17 +02:00
Michael Kerrisk 8f5484f8b6 mprotect.2: CONFORMING TO: note that pkey_mprotect() is Linux-specific
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk e956ced871 pkey_alloc.2: Reorganize text
No content changes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk b638d22097 pkey_alloc.2: Various tweaks to the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 79a2a43713 pkeys.7: Note that SIGSEGV results if pkey restrictions are violated
And point to sigaction(2) for further details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 8bb4e76704 pkeys.7: Cosmetic changes to example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 435f231ac9 pkeys.7: Various tweaks to the text
No changes to technical details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 6fc107c1da pkey_mprotect.2: New link to mprotect(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk fb48371eeb pkey_free.2: New link to new pkey_alloc(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 6075e4eb6b syscalls.2: Add pkey_alloc(), pkey_free(), and pkey_mprotect()
New system calls in Linux 4.9.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:11 +02:00
Michael Kerrisk 2f05728103 proc.5: Add example ProtectionKey output for 'smaps' file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:06 +02:00
Dave Hansen be729d667d proc.5: Describe new ProtectionKey 'smaps' field
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-17 14:03:28 +02:00
Dave Hansen bc2983d6d6 sigaction.2: Further documentation of SEGV_PKUERR
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 12:51:10 +02:00
Dave Hansen d457be9d03 pkey_alloc.2: New page documenting pkey_alloc(2) and pkey_free(2)
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-17 12:51:10 +02:00
Dave Hansen d800ae65d3 mprotect.2: Document pkey_mprotect() system call
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-17 12:51:10 +02:00
Dave Hansen 452f54946f pkeys.7: New page with overview of Memory Protection Keys
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-17 12:51:10 +02:00
Michael Kerrisk fc79d996c1 perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 11:17:42 +02:00
Michael Kerrisk 6831ba6b0f perf_event_open.2: Clarify the use of signals for capturing overflow events
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 11:17:42 +02:00
Michael Kerrisk 4b3a5f018a perf_event_open.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 11:17:35 +02:00
Michael Kerrisk edb3e31604 perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 10:54:57 +02:00
Michael Kerrisk 4af2757220 perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 10:53:31 +02:00
Michael Kerrisk 7a10da70f2 perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 08:44:55 +02:00
Michael Kerrisk 4199d3a14b perf_event_open.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 08:37:37 +02:00
Dave Hansen 46012ba3ff perf_event_open.2: PERF_RECORD_LOST_SAMPLES record type
Linux 4.2 added a new record type: PERF_RECORD_LOST_SAMPLES
It is generated when hardware samples (currently only Intel PEBS)
are lost.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
2016-10-17 08:35:42 +02:00
Vince Weaver dde354c979 perf_event_open.2: PERF_SAMPLE_BRANCH_IND_JUMP branch_sample_type
Linux 4.2 added a new branch_sample_type: PERF_SAMPLE_BRANCH_IND_JUMP

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
2016-10-15 09:12:53 +02:00
Michael Kerrisk 5d73bc3fe4 perf_event_open.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-14 12:54:42 +02:00
Michael Kerrisk dc9ec146ab perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-14 12:46:12 +02:00
Michael Kerrisk 974cb9565b perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-14 12:37:58 +02:00
Michael Kerrisk 5dd3feec96 perf_event_open.2: Minor tweaks to Vince Weaver's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-14 12:35:43 +02:00
Vince Weaver fd133d5dc4 perf_event_open.2: Document sample_max_stack and /proc/sys/kernel/perf_event_max_stack
Linux 4.8 added a new sample_max_stack parameter, as well as
/proc/sys/kernel/perf_event_max_stack which limits it and a new
EOVERFLOW error return.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
2016-10-14 12:31:59 +02:00
Michael Kerrisk ca8b1e32a9 clone.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 16:53:32 +02:00
Michael Kerrisk b5da2f9178 clone.2: The CLONE_*_SETTID operations store TID before return to user space
CLONE_PARENT_SETTID and CLONE_CHILD_SETTID store the new
TID before clone() returns to user space

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 15:48:37 +02:00
Michael Kerrisk 4ba5392d3b clone.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 15:46:44 +02:00
Michael Kerrisk c3d59262f3 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 12:57:06 +02:00
Michael Kerrisk 6861f8f0c7 proc.5: Improve description of the KernelPageSize and MMUPageSize 'smaps' fields
Rework the text, make it clearer that MMUPageSize is a separate
line, add kernel version numbers, and example output.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 12:57:00 +02:00
Michael Kerrisk eb8487082c proc.5: Rework 'smaps' VmFlags text, and add kernel version and example output
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 11:32:13 +02:00