aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2024-06-12 13:44:52 -0700
committerAlejandro Colomar <alx@kernel.org>2024-06-12 23:31:23 +0200
commita79c8d7736f2fbcf8fa71940217601b030227556 (patch)
tree89c9e8574935f05fa9bd380e8f3c9cf06b47d018
parenteced9fa12da2e90c0468a7e888c18f5f192669e8 (diff)
downloadman-pages-a79c8d7736f2fbcf8fa71940217601b030227556.tar.gz
sched_setattr.2: ERRORS: Break EINVAL into separate blocks
The current EINVAL description has a complex boolean expression, and I'm planning to add one more condition to it. Let's separate it into different EINVAL descriptions to make it easier to read. Tweak the punctuation a bit too while I'm at it. Signed-off-by: Brian Norris <briannorris@chromium.org> Message-ID: <20240612204504.2651521-1-briannorris@chromium.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2/sched_setattr.215
1 files changed, 10 insertions, 5 deletions
diff --git a/man/man2/sched_setattr.2 b/man/man2/sched_setattr.2
index 5d7061bd6e..0c866a7867 100644
--- a/man/man2/sched_setattr.2
+++ b/man/man2/sched_setattr.2
@@ -349,16 +349,21 @@ admission control failure, see
.TP
.B EINVAL
.I attr.sched_policy
-is not one of the recognized policies;
+is not one of the recognized policies.
+.TP
+.B EINVAL
.I attr.sched_flags
contains a flag other than
-.BR SCHED_FLAG_RESET_ON_FORK ;
-or
+.BR SCHED_FLAG_RESET_ON_FORK .
+.TP
+.B EINVAL
.I attr.sched_priority
-is invalid; or
+is invalid.
+.TP
+.B EINVAL
.I attr.sched_policy
is
-.B SCHED_DEADLINE
+.BR SCHED_DEADLINE ,
and the deadline scheduling parameters in
.I attr
are invalid.