aboutsummaryrefslogtreecommitdiffstats
path: root/man2/perf_event_open.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-04-10 21:54:25 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-04-10 21:54:25 +0200
commita61dba34857f818a2c4c83c0b6ec766c6d811bf4 (patch)
tree30631c947850c7bbf4d894bb0939af44344139f9 /man2/perf_event_open.2
parentaccec051520e6a339ebf965e63caf512d19b5181 (diff)
downloadman-pages-a61dba34857f818a2c4c83c0b6ec766c6d811bf4.tar.gz
perf_event_open.2: Minor clarification to close-on-exec text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/perf_event_open.2')
-rw-r--r--man2/perf_event_open.22
1 files changed, 2 insertions, 0 deletions
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 7e15cf03b8..30dcd16d09 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -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