Page MenuHomeFreeBSD

ksched: correct return code for invalid priority
ClosedPublic

Authored by mhorne on Oct 17 2022, 5:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 3:28 AM
Unknown Object (File)
Tue, Oct 22, 9:10 PM
Unknown Object (File)
Oct 3 2024, 9:21 PM
Unknown Object (File)
Sep 29 2024, 6:36 AM
Unknown Object (File)
Sep 26 2024, 7:49 PM
Unknown Object (File)
Sep 24 2024, 12:13 PM
Unknown Object (File)
Sep 23 2024, 8:58 PM
Unknown Object (File)
Sep 23 2024, 2:55 PM
Subscribers

Details

Summary

By convention, EINVAL is returned when validating arguments, not EPERM.
This matches the documented behaviour of sched_setscheduler(3), and that
of SCHED_OTHER.

PR: 227735

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable