perf_event_open.2: Minor clarification to close-on-exec text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-10 21:54:25 +02:00
parent accec05152
commit a61dba3485
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ Setting the close-on-exec flags at creation time, rather than later with
.BR fcntl (2),
avoids potential race conditions where the calling thread invokes
.BR perf_event_open ()
and
.BR fcntl (2)
at the same time as another thread calls
.BR fork (2)
then