syscall.sh / sparc / sched_setattr

sched_setattr

set and get scheduling policy and attributes

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

Registers

registervalue
g1343, the syscall number
o0pid_t pid
o1struct sched_attr *attr
o2unsigned int flags
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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