syscall.sh / m68k / sched_setattr

sched_setattr

set and get scheduling policy and attributes

sys_sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags)
number349 (0x15d)
abicommon
entry pointsys_sched_setattr
sinceLinux 5.0
man pagesched_setattr(2)
sourceelixir.bootlin.com

Registers

registervalue
d0349, the syscall number
d1pid_t pid
d2struct sched_attr *attr
d3unsigned int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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