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
Differential D37021
ksched: correct return code for invalid priority mhorne on Oct 17 2022, 5:15 PM. Authored by Tags None Referenced Files
Subscribers
Details By convention, EINVAL is returned when validating arguments, not EPERM. PR: 227735
Diff Detail
|