From 079928f31cc266cfcfa3b2e79eb714fc76bc0eab Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 14 Apr 2014 12:38:34 +0200 Subject: [PATCH] perf_event_open.2: Minor wording fixes for EACCES error Signed-off-by: Michael Kerrisk --- man2/perf_event_open.2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 30dcd16d0..e513905dd 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -2387,11 +2387,12 @@ it was expecting. .B EACCES Returned when the requested event requires root permissions (or a more permissive perf_event paranoid setting). -Some common causes are attaching to a process owned by a different user, -monitoring all processes on a given CPU, -or not setting +Some common cases where an unprivileged process +may encounter this error: are attaching to a process owned by a different user; +monitoring all processes on a given CPU; +and not setting .I exclude_kernel -and the paranoid setting requires it. +when the paranoid setting requires it. .TP .B EBADF Returned if the