syscall.sh / x86 / sched_setattr

sched_setattr

set and get scheduling policy and attributes

sys_sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags)
number351 (0x15f)
abii386
entry pointsys_sched_setattr
sinceLinux 3.14
man pagesched_setattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax351, the syscall number
ebxpid_t pid
ecxstruct sched_attr *attr
edxunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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