perf_event_open.2: If pid > 0, the operation is governed by PTRACE_MODE_READ_REALCREDS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-11 12:13:14 +02:00
parent c33e8aff8c
commit 13ec13dc19
1 changed files with 8 additions and 0 deletions

View File

@ -106,6 +106,14 @@ value of less than 1.
.BR "pid == \-1" " and " "cpu == \-1"
This setting is invalid and will return an error.
.P
When
.I pid
is greater than zero, permission to perform this system call
is governed by a ptrace access mode
.B PTRACE_MODE_READ_REALCREDS
check; see
.BR ptrace (2).
The
.I group_fd
argument allows event groups to be created.