summaryrefslogtreecommitdiffstats
path: root/man2/get_robust_list.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/get_robust_list.2')
-rw-r--r--man2/get_robust_list.218
1 files changed, 9 insertions, 9 deletions
diff --git a/man2/get_robust_list.2 b/man2/get_robust_list.2
index 9fc260022..98fac7109 100644
--- a/man2/get_robust_list.2
+++ b/man2/get_robust_list.2
@@ -29,7 +29,7 @@ Standard C library
.IR Note :
glibc provides no wrappers for these system calls,
necessitating the use of
-.BR syscall (2).
+.MR syscall 2 .
.SH DESCRIPTION
These system calls deal with per-thread robust futex lists.
These lists are managed in user space:
@@ -41,13 +41,13 @@ The address of a thread's robust futex list can be obtained using
.P
The purpose of the robust futex list is to ensure that if a thread
accidentally fails to unlock a futex before terminating or calling
-.BR execve (2),
+.MR execve 2 ,
another thread that is waiting on that futex is notified that
the former owner of the futex has died.
This notification consists of two pieces: the
.B FUTEX_OWNER_DIED
bit is set in the futex word, and the kernel performs a
-.BR futex (2)
+.MR futex 2
.B FUTEX_WAKE
operation on one of the threads waiting on the futex.
.P
@@ -72,7 +72,7 @@ Permission to employ
is governed by a ptrace access mode
.B PTRACE_MODE_READ_REALCREDS
check; see
-.BR ptrace (2).
+.MR ptrace 2 .
.P
The
.BR set_robust_list ()
@@ -137,17 +137,17 @@ only if the owner terminated.
Starting with Linux 2.6.28,
.\" commit 8141c7f3e7aee618312fa1c15109e1219de784a7
notification was extended to include the case where the owner performs an
-.BR execve (2).
+.MR execve 2 .
.P
The thread IDs mentioned in the main text are
.I kernel
thread IDs of the kind returned by
-.BR clone (2)
+.MR clone 2
and
-.BR gettid (2).
+.MR gettid 2 .
.SH SEE ALSO
-.BR futex (2),
-.BR pthread_mutexattr_setrobust (3)
+.MR futex 2 ,
+.MR pthread_mutexattr_setrobust 3
.P
.I Documentation/robust\-futexes.txt
and