Page MenuHomeFreeBSD

pthread_setschedparam(3): document EPERM return
ClosedPublic

Authored by mhorne on Oct 17 2022, 5:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 2, 6:45 PM
Unknown Object (File)
Nov 11 2025, 2:27 AM
Unknown Object (File)
Nov 3 2025, 9:45 PM
Unknown Object (File)
Nov 3 2025, 9:45 PM
Unknown Object (File)
Nov 3 2025, 9:41 PM
Unknown Object (File)
Nov 3 2025, 9:40 PM
Unknown Object (File)
Oct 29 2025, 12:59 AM
Unknown Object (File)
Oct 10 2025, 10:54 PM
Subscribers

Details

Summary

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

PR: 175687

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable