sched_setattr on ia32

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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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