Page MenuHomeFreeBSD

ksched: correct return code for invalid priority
ClosedPublic

Authored by mhorne on Oct 17 2022, 5:15 PM.
Tags
None
Referenced Files
F109533340: D37021.diff
Thu, Feb 6, 9:00 AM
Unknown Object (File)
Tue, Feb 4, 6:15 PM
Unknown Object (File)
Thu, Jan 30, 7:59 PM
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
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 Passed
Unit
No Test Coverage
Build Status
Buildable 47861
Build 44748: arc lint + arc unit