Bug 249469 - [linuxlator] linux_sched_setscheduler fails: Operation not permitted
Summary: [linuxlator] linux_sched_setscheduler fails: Operation not permitted
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-emulation (Nobody)
Depends on:
Reported: 2020-09-19 23:41 UTC by Yuri Victorovich
Modified: 2020-09-21 17:57 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2020-09-19 23:41:17 UTC
It looks like some pthread* functions call sched_setscheduler() that fails:
>  13331 zoom     CALL  linux_sched_setscheduler(0x1917f,0x2,0x7fffffffbc60)
>  13331 zoom     RET   linux_sched_setscheduler -1 errno -1 Operation not permitted

Unfortunately ktrace doesn't show more detailed information about the arguments.

12.2-STABLE r365688