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)
Fri, Jan 17, 12:19 PM
Unknown Object (File)
Thu, Jan 16, 5:11 AM
Unknown Object (File)
Dec 4 2024, 2:00 PM
Unknown Object (File)
Nov 16 2024, 11:18 PM
Unknown Object (File)
Nov 16 2024, 10:39 PM
Unknown Object (File)
Nov 16 2024, 8:55 PM
Unknown Object (File)
Nov 2 2024, 3:28 AM
Unknown Object (File)
Oct 22 2024, 9:10 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