HomeFreeBSD

pthread_setschedparam(3): document EPERM return

Description

pthread_setschedparam(3): document EPERM return

In kern_sched_setparam(), before setting any parameters, p_cansched() is
called to check that the thread has appropriate privileges.

PR: 175687
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37020

(cherry picked from commit 04620006b9116049e9e2f27d74417d2d84dc8d10)

Details

Provenance
mhorneAuthored on Oct 17 2022, 6:11 PM
Reviewer
markj
Differential Revision
D37020: pthread_setschedparam(3): document EPERM return
Parents
rG959c2e5a5234: mpr(4): Add Aero/Sea devices to supported hardware list
Branches
Unknown
Tags
Unknown