syscall.sh / sh / sched_setparam

sched_setparam

set and get scheduling parameters

sys_sched_setparam(pid_t pid, struct sched_param *param)
number154 (0x9a)
abicommon
entry pointsys_sched_setparam
sinceLinux 5.0
man pagesched_setparam(2)
sourceelixir.bootlin.com

Registers

registervalue
r3154, the syscall number
r4pid_t pid
r5struct sched_param *param
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/sched_setparam