perf_event_open.2: Minor wording fixes for EACCES error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-14 12:38:34 +02:00
parent 738e78b2c9
commit 079928f31c
1 changed files with 5 additions and 4 deletions

View File

@ -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