From 97e2d8e602d44b1271f18cd3297a5e40bed3584c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 Aug 2021 02:04:15 +0200 Subject: [PATCH] arch_prctl.2, perf_event_open.2, pthread_tryjoin_np.3: ERRORS: correct alphabetic order Signed-off-by: Michael Kerrisk --- man2/arch_prctl.2 | 8 ++++---- man2/perf_event_open.2 | 8 ++++---- man3/pthread_tryjoin_np.3 | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 index 982416761..e97461263 100644 --- a/man2/arch_prctl.2 +++ b/man2/arch_prctl.2 @@ -140,13 +140,13 @@ points to an unmapped address or is outside the process address space. .I code is not a valid subcommand. .TP -.B EPERM -.I addr -is outside the process address space. -.TP .B ENODEV .B ARCH_SET_CPUID was requested, but the underlying hardware does not support CPUID faulting. +.TP +.B EPERM +.I addr +is outside the process address space. .\" .SH AUTHOR .\" Man page written by Andi Kleen. .SH CONFORMING TO diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index daf5edddf..6790f4046 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -3534,6 +3534,10 @@ Returned if the .I attr pointer points at an invalid memory address. .TP +.B EINTR +Returned when trying to mix perf and ftrace handling +for a uprobe. +.TP .B EINVAL Returned if the specified event is invalid. There are many possible reasons for this. @@ -3560,10 +3564,6 @@ values are out of range or set reserved bits; the generic event selected is not supported; or there is not enough room to add the selected event. .TP -.B EINTR -Returned when trying to mix perf and ftrace handling -for a uprobe. -.TP .B EMFILE Each opened event uses one file descriptor. If a large number of events are opened, diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index e2b142504..c94ed95e3 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -101,11 +101,6 @@ had not yet terminated at the time of the call. .BR pthread_timedjoin_np () can in addition fail with the following errors: .TP -.BR ETIMEDOUT -The call timed out before -.I thread -terminated. -.TP .BR EINVAL .I abstime value is invalid @@ -113,6 +108,11 @@ value is invalid is less than 0 or .IR tv_nsec is greater than 1e9). +.TP +.BR ETIMEDOUT +The call timed out before +.I thread +terminated. .PP .BR pthread_timedjoin_np () never returns the error