mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e9b1ab7892
commit
8bad22e53b
|
@ -137,8 +137,8 @@ This flag enables the close-on-exec flag for the created
|
|||
event file descriptor,
|
||||
so that the file descriptor is automatically closed on
|
||||
.BR execve (2).
|
||||
Setting the close-on-exec flags at creation time rather than later with
|
||||
.BR fcntl (2)
|
||||
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 ()
|
||||
at the same time as another thread calls
|
||||
|
|
Loading…
Reference in New Issue