doc: clarifiy EINVAL/EBUSY errors with an active registration
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 26 Jul 2024 18:03:23 +0000 (14:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Jul 2024 18:57:03 +0000 (14:57 -0400)
Clarify that EBUSY will only be returned when the rseq syscall is called
with the same arguments as the active registration. If any argument
differs, EINVAL wil be returned instead.

Change-Id: I3b6a8d971489e3fc64daf85484ae8e1b8143b1d3
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/rseq.2

index 5e2f955d724d8ebb64fc715e9ecdbb5d82be61db..d4b4dc76736a73b3c4fde27d50026c64888b47e4 100644 (file)
@@ -432,7 +432,9 @@ contains an invalid value, or
 .I rseq
 contains an address which is not appropriately aligned, or
 .I rseq_len
-contains an incorrect size.
+contains an incorrect size, or restartable sequence is already
+registered for this thread and at least one argument differs from the
+active registration.
 .TP
 .B ENOSYS
 The
@@ -444,7 +446,8 @@ system call is not implemented by this kernel.
 is an invalid address.
 .TP
 .B EBUSY
-Restartable sequence is already registered for this thread.
+Restartable sequence is already registered for this thread and all arguments
+are the same as the active registration.
 .TP
 .B EPERM
 The
This page took 0.023493 seconds and 4 git commands to generate.