--- Comment #67 from Alex S <[hidden email]> ---
(In reply to Tijl Coosemans from comment #63)
> The current behaviour where FreeBSD announces fewer priority levels via sched_get_priority_(min|max) is correct.
> A POSIX compliant program is supposed to use priority levels from this range.
Would it be acceptable to silently discard any values outside of the FreeBSD
range but still within the valid Linux range? Maybe even with a corresponding
sysctl variable to enable/disable that behavior. That's the most sane solution
I can think of.